rev-list-options.txt: update --all about HEAD
This is the document patch for f0298cf1c6 (revision walker: include a detached HEAD in --all - 2009-01-16). Even though that commit is about detached HEAD, as Jeff pointed out, always adding HEAD in that case may have subtle differences with --source or --exclude. So the document mentions nothing about the detached-ness. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Feb 8, 2017 at 13:06 UTC
209df269a619fdafcf42261aa7cde1a20230fc9e
1 file changed
+2
-2
Documentation/rev-list-options.txt
+2
-2
@@ -133,8 +133,8 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
133
for all following revision specifiers, up to the next `--not`.
134
135
--all::
136
- Pretend as if all the refs in `refs/` are listed on the
137
- command line as '<commit>'.
136
+ Pretend as if all the refs in `refs/`, along with `HEAD`, are
137
+ listed on the command line as '<commit>'.
138
139
--branches[=<pattern>]::
140
Pretend as if all the refs in `refs/heads` are listed