parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defval
[gitweb.git] / connected.h
index 0b060b7429ff2035ac3db108f80308c4a8a8e785..071d408f387b2afdbb642920054a7735c982200b 100644 (file)
@@ -18,6 +18,8 @@ typedef int (*sha1_iterate_fn)(void *, unsigned char [20]);
  * Return 0 if Ok, non zero otherwise (i.e. some missing objects)
  */
 extern int check_everything_connected(sha1_iterate_fn, int quiet, void *cb_data);
+extern int check_shallow_connected(sha1_iterate_fn, int quiet, void *cb_data,
+                                  const char *shallow_file);
 extern int check_everything_connected_with_transport(sha1_iterate_fn, int quiet,
                                                     void *cb_data,
                                                     struct transport *transport);