diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-06 12:17:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-06 12:17:55 -0700 |
commit | 72e719292d5dd6e037fecbc3a1c5e4d4f21f03b8 (patch) | |
tree | 239f589cfc197cc5fb839ace54e244dc9dc5f632 /commit.h | |
parent | 9d54f97e34a92d1504f24a5896e9741111f38d79 (diff) | |
parent | c6807a40dcd29f7e5ad1e2f4fc44f1729c9afa11 (diff) | |
download | git-72e719292d5dd6e037fecbc3a1c5e4d4f21f03b8.tar.gz |
Merge branch 'nd/clone-connectivity-shortcut'
Special case "git clone" and use lighter-weight implementation to
check the completeness of the history behind refs.
* nd/clone-connectivity-shortcut:
clone: open a shortcut for connectivity check
index-pack: remove dead code (it should never happen)
fetch-pack: prepare updated shallow file before fetching the pack
clone: let the user know when check_everything_connected is run
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -176,6 +176,8 @@ extern int for_each_commit_graft(each_commit_graft_fn, void *); extern int is_repository_shallow(void); extern struct commit_list *get_shallow_commits(struct object_array *heads, int depth, int shallow_flag, int not_shallow_flag); +extern void check_shallow_file_for_update(void); +extern void set_alternate_shallow_file(const char *path); int is_descendant_of(struct commit *, struct commit_list *); int in_merge_bases(struct commit *, struct commit *); |