summaryrefslogtreecommitdiff
path: root/describe.c
diff options
context:
space:
mode:
Diffstat (limited to 'describe.c')
-rw-r--r--describe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/describe.c b/describe.c
index ea0f2ce55b..f4029ee74e 100644
--- a/describe.c
+++ b/describe.c
@@ -53,7 +53,7 @@ static void add_to_known_names(const char *path,
names = ++idx;
}
-static int get_name(const char *path, const unsigned char *sha1, void *cb_data)
+static int get_name(const char *path, const unsigned char *sha1, int flag, void *cb_data)
{
struct commit *commit = lookup_commit_reference_gently(sha1, 1);
struct object *object;