list-objects: reduce one argument in mark_edges_uninteresting
[gitweb.git] / commit.h
index d912a9d4ac3fe36b2e69d48b1725f01bdf289b26..c4d324c9558bb7c785f17d35cf770be5e1f4bea9 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -198,6 +198,10 @@ 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);
+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 *);