Skip to content

Commit 209df26

Browse files
pcloudsgitster
authored andcommitted
rev-list-options.txt: update --all about HEAD
This is the document patch for f0298cf (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>
1 parent 3b9e3c2 commit 209df26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/rev-list-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
133133
for all following revision specifiers, up to the next `--not`.
134134

135135
--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>'.
138138

139139
--branches[=<pattern>]::
140140
Pretend as if all the refs in `refs/heads` are listed

0 commit comments

Comments
 (0)