aboutsummaryrefslogtreecommitdiff
path: root/Documentation/rev-list-options.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-10-16 20:44:23 -0400
committerJunio C Hamano <gitster@pobox.com>2014-10-19 15:07:07 -0700
commit4fe10219bca6b010e2103116c653928992d5141b (patch)
treea3c9b1cdfd96fc14effd384d40955b30e6c6e3eb /Documentation/rev-list-options.txt
parent41d018d146f03f7b9320c7492d7cbde5df9f68a1 (diff)
downloadgit-4fe10219bca6b010e2103116c653928992d5141b.tar.gz
git-4fe10219bca6b010e2103116c653928992d5141b.tar.xz
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 'Documentation/rev-list-options.txt')
-rw-r--r--Documentation/rev-list-options.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 4cf94c680..3301fdebf 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -172,6 +172,11 @@ explicitly.
Pretend as if all objects mentioned by reflogs are listed on the
command line as `<commit>`.
+--indexed-objects::
+ Pretend as if all trees and blobs used by the index are listed
+ on the command line. Note that you probably want to use
+ `--objects`, too.
+
--ignore-missing::
Upon seeing an invalid object name in the input, pretend as if
the bad input was not given.