Fix refs.c;:repack_without_ref() clean-up path
[gitweb.git] / send-pack.c
index ee1309313ff41e23b49380d87cd0077cc2e84a85..fbd792ccf4a55ddb5bb09273ceb9e103d242db0e 100644 (file)
@@ -215,7 +215,7 @@ static int ref_newer(const unsigned char *new_sha1,
 static struct ref *local_refs, **local_tail;
 static struct ref *remote_refs, **remote_tail;
 
-static int one_local_ref(const char *refname, const unsigned char *sha1, void *cb_data)
+static int one_local_ref(const char *refname, const unsigned char *sha1, int flag, void *cb_data)
 {
        struct ref *ref;
        int len = strlen(refname) + 1;