aboutsummaryrefslogtreecommitdiff
path: root/shallow.h
diff options
context:
space:
mode:
Diffstat (limited to 'shallow.h')
-rw-r--r--shallow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shallow.h b/shallow.h
index ad591bd139..e3f0df57ad 100644
--- a/shallow.h
+++ b/shallow.h
@@ -35,7 +35,9 @@ int commit_shallow_file(struct repository *r, struct shallow_lock *lk);
/* rollback $GIT_DIR/shallow and reset stat-validity checks */
void rollback_shallow_file(struct repository *r, struct shallow_lock *lk);
+int get_shallows_depth(struct object_array *heads, struct object_array *shallows);
struct commit_list *get_shallow_commits(struct object_array *heads,
+ struct object_array *shallows, int deepen_relative,
int depth, int shallow_flag, int not_shallow_flag);
struct commit_list *get_shallow_commits_by_rev_list(struct strvec *argv,
int shallow_flag, int not_shallow_flag);