summaryrefslogtreecommitdiff
path: root/builtin-pack-refs.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-pack-refs.c')
-rw-r--r--builtin-pack-refs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-pack-refs.c b/builtin-pack-refs.c
index b3d5470cc0..98710893b0 100644
--- a/builtin-pack-refs.c
+++ b/builtin-pack-refs.c
@@ -9,7 +9,8 @@ static void remove_lock_file(void)
unlink(lock_path);
}
-static int handle_one_ref(const char *path, const unsigned char *sha1, void *cb_data)
+static int handle_one_ref(const char *path, const unsigned char *sha1,
+ int flags, void *cb_data)
{
FILE *refs_file = cb_data;