]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.h
shallow: add setup_temporary_shallow()
[thirdparty/git.git] / commit.h
index 790e31bec85d9e2e8bdd8533b7d69af4c0f18ca4..c4d324c9558bb7c785f17d35cf770be5e1f4bea9 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -201,6 +201,7 @@ extern void set_alternate_shallow_file(const char *path);
 extern int write_shallow_commits(struct strbuf *out, int use_pack_protocol);
 extern void setup_alternate_shallow(struct lock_file *shallow_lock,
                                    const char **alternate_shallow_file);
+extern char *setup_temporary_shallow(void);
 
 int is_descendant_of(struct commit *, struct commit_list *);
 int in_merge_bases(struct commit *, struct commit *);