mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Fix documentation of --first-parent in git-log and copy it to git-rev-list
Credit goes to Avi Kivity for noticing the lack of description in rev-list manual page. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
0faf2da7e5
commit
25db465a34
|
@ -43,8 +43,12 @@ include::diff-options.txt[]
|
||||||
|
|
||||||
--first-parent::
|
--first-parent::
|
||||||
Follow only the first parent commit upon seeing a merge
|
Follow only the first parent commit upon seeing a merge
|
||||||
commit. This option gives a better overview of the
|
commit. This option can give a better overview when
|
||||||
evolution of a particular branch.
|
viewing the evolution of a particular topic branch,
|
||||||
|
because merges into a topic branch tend to be only about
|
||||||
|
adjusting to updated upstream from time to time, and
|
||||||
|
this option allows you to ignore the individual commits
|
||||||
|
brought in to your history by such a merge.
|
||||||
|
|
||||||
-g, \--walk-reflogs::
|
-g, \--walk-reflogs::
|
||||||
Show commits as they were recorded in the reflog. The log contains
|
Show commits as they were recorded in the reflog. The log contains
|
||||||
|
|
|
@ -15,6 +15,7 @@ SYNOPSIS
|
||||||
[ \--min-age=timestamp ]
|
[ \--min-age=timestamp ]
|
||||||
[ \--sparse ]
|
[ \--sparse ]
|
||||||
[ \--no-merges ]
|
[ \--no-merges ]
|
||||||
|
[ \--first-parent ]
|
||||||
[ \--remove-empty ]
|
[ \--remove-empty ]
|
||||||
[ \--full-history ]
|
[ \--full-history ]
|
||||||
[ \--not ]
|
[ \--not ]
|
||||||
|
@ -256,6 +257,15 @@ limiting may be applied.
|
||||||
|
|
||||||
Do not print commits with more than one parent.
|
Do not print commits with more than one parent.
|
||||||
|
|
||||||
|
--first-parent::
|
||||||
|
Follow only the first parent commit upon seeing a merge
|
||||||
|
commit. This option can give a better overview when
|
||||||
|
viewing the evolution of a particular topic branch,
|
||||||
|
because merges into a topic branch tend to be only about
|
||||||
|
adjusting to updated upstream from time to time, and
|
||||||
|
this option allows you to ignore the individual commits
|
||||||
|
brought in to your history by such a merge.
|
||||||
|
|
||||||
--not::
|
--not::
|
||||||
|
|
||||||
Reverses the meaning of the '{caret}' prefix (or lack thereof)
|
Reverses the meaning of the '{caret}' prefix (or lack thereof)
|
||||||
|
|
Loading…
Reference in a new issue