]> git.ipfire.org Git - thirdparty/git.git/blobdiff - connected.h
refs: print error message in debug output
[thirdparty/git.git] / connected.h
index 8d5a6b3ad6fe4bb0f9ca0930f8eea82543968306..6e59c92aa33c0c10067c0ed1c095c5ea9fa4f731 100644 (file)
@@ -9,7 +9,7 @@ struct transport;
  * When called after returning the name for the last object, return -1
  * to signal EOF, otherwise return 0.
  */
-typedef int (*oid_iterate_fn)(void *, struct object_id *oid);
+typedef const struct object_id *(*oid_iterate_fn)(void *);
 
 /*
  * Named-arguments struct for check_connected. All arguments are