mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
069c053222
commit
614db3e292
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user