summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-11-01 12:02:45 -0700
committerJunio C Hamano <gitster@pobox.com>2013-11-01 13:09:24 -0700
commitff32d3420a550d3811e745af7f2ccc77fb026b7b (patch)
tree1d36bfbaae6326570cb3a6d344d645e7739f2159 /revision.h
parent751a2ac6edfbc803b9ed7c48d2d1fc54c97cc64c (diff)
downloadgit-ff32d3420a550d3811e745af7f2ccc77fb026b7b.tar.gz
rev-list --exclude: export add/clear-ref-exclusion and ref-excluded API
... while updating their function signature. To be squashed into the initial patch to rev-list. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index b4dc56c3ca..c67c46d716 100644
--- a/revision.h
+++ b/revision.h
@@ -192,6 +192,11 @@ struct rev_info {
struct decoration line_log_data;
};
+extern int ref_excluded(struct string_list *, const char *path);
+void clear_ref_exclusion(struct string_list **);
+void add_ref_exclusion(struct string_list **, const char *exclude);
+
+
#define REV_TREE_SAME 0
#define REV_TREE_NEW 1 /* Only new files */
#define REV_TREE_OLD 2 /* Only files removed */