OSDN Git Service

rev-list-options.txt: update --all about HEAD
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 8 Feb 2017 06:06:41 +0000 (13:06 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Feb 2017 21:37:32 +0000 (13:37 -0800)
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>
Documentation/rev-list-options.txt

index 5da7cf5..a02f732 100644 (file)
@@ -133,8 +133,8 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
        for all following revision specifiers, up to the next `--not`.
 
 --all::
-       Pretend as if all the refs in `refs/` are listed on the
-       command line as '<commit>'.
+       Pretend as if all the refs in `refs/`, along with `HEAD`, are
+       listed on the command line as '<commit>'.
 
 --branches[=<pattern>]::
        Pretend as if all the refs in `refs/heads` are listed