Tell between packed, unpacked and symbolic refs.
[gitweb.git] / fetch.c
diff --git a/fetch.c b/fetch.c
index 36d1e7668e15bb79dba428034f6cab55acceddd8..a2cbdfba8246a24b7da3ccf7cc0dbc1be2bd52bf 100644 (file)
--- a/fetch.c
+++ b/fetch.c
@@ -201,7 +201,7 @@ static int interpret_target(char *target, unsigned char *sha1)
        return -1;
 }
 
-static int mark_complete(const char *path, const unsigned char *sha1, void *cb_data)
+static int mark_complete(const char *path, const unsigned char *sha1, int flag, void *cb_data)
 {
        struct commit *commit = lookup_commit_reference_gently(sha1, 1);
        if (commit) {