summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-10-17 00:44:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-10-19 22:07:07 (GMT)
commit4fe10219bca6b010e2103116c653928992d5141b (patch)
treea3c9b1cdfd96fc14effd384d40955b30e6c6e3eb /revision.h
parent41d018d146f03f7b9320c7492d7cbde5df9f68a1 (diff)
downloadgit-4fe10219bca6b010e2103116c653928992d5141b.zip
git-4fe10219bca6b010e2103116c653928992d5141b.tar.gz
git-4fe10219bca6b010e2103116c653928992d5141b.tar.bz2
rev-list: add --indexed-objects option
There is currently no easy way to ask the revision traversal machinery to include objects reachable from the index (e.g., blobs and trees that have not yet been committed). This patch adds an option to do so. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index e644044..e6dcd5d 100644
--- a/revision.h
+++ b/revision.h
@@ -277,6 +277,7 @@ extern void add_pending_sha1(struct rev_info *revs,
extern void add_head_to_pending(struct rev_info *);
extern void add_reflogs_to_pending(struct rev_info *, unsigned int flags);
+extern void add_index_objects_to_pending(struct rev_info *, unsigned int flags);
enum commit_action {
commit_ignore,