diff options
Diffstat (limited to 'help.c')
| -rw-r--r-- | help.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -857,7 +857,7 @@ struct similar_ref_cb { static int append_similar_ref(const struct reference *ref, void *cb_data) { struct similar_ref_cb *cb = (struct similar_ref_cb *)(cb_data); - char *branch = strrchr(ref->name, '/') + 1; + const char *branch = strrchr(ref->name, '/') + 1; /* A remote branch of the same name is deemed similar */ if (starts_with(ref->name, "refs/remotes/") && |
