receive-pack: check connectivity before concluding "git push"
[gitweb.git] / upload-pack.c
index 970a1eba137828511456c5dc67e6d6001ef609a4..6be625995df74df0865853a1bc4dbc1c1bbf4505 100644 (file)
@@ -83,7 +83,9 @@ static void show_commit(struct commit *commit, void *data)
        commit->buffer = NULL;
 }
 
-static void show_object(struct object *obj, const struct name_path *path, const char *component)
+static void show_object(struct object *obj,
+                       const struct name_path *path, const char *component,
+                       void *cb_data)
 {
        show_object_with_name(pack_pipe, obj, path, component);
 }