summaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-12-05 20:02:46 +0700
committerJunio C Hamano <gitster@pobox.com>2013-12-10 16:14:18 -0800
commit614db3e2920f4d1c79931833614acf36a00fa88b (patch)
treeb604e6fcf82621e7ab894c5f7cae812e69ae91b5 /connected.h
parent069c053222bfc62a6522430a137e9b2c7ff36e4c (diff)
downloadgit-614db3e2920f4d1c79931833614acf36a00fa88b.tar.gz
connected.c: add new variant that runs with --shallow-file
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connected.h')
-rw-r--r--connected.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/connected.h b/connected.h
index 0b060b7429..071d408f38 100644
--- a/connected.h
+++ b/connected.h
@@ -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);