]> git.ipfire.org Git - thirdparty/git.git/commitdiff
blame-options.txt: document --first-parent option
authorRaymond E. Pasco <ray@ameretat.dev>
Thu, 6 Aug 2020 18:52:43 +0000 (14:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Aug 2020 21:08:10 +0000 (14:08 -0700)
blame/annotate have supported --first-parent since commit 95a4fb0eac
("blame: handle --first-parent"). This adds a blurb on that option to
the documentation.

Signed-off-by: Raymond E. Pasco <ray@ameretat.dev>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/blame-options.txt

index 5d122db6e9e6863fcf1e69ebc14feb1393501e0b..88750af7ae19672dd1b44a6131b180acdc77ba16 100644 (file)
@@ -36,6 +36,12 @@ include::line-range-format.txt[]
        START.  `git blame --reverse START` is taken as `git blame
        --reverse START..HEAD` for convenience.
 
+--first-parent::
+       Follow only the first parent commit upon seeing a merge
+       commit. This option can be used to determine when a line
+       was introduced to a particular integration branch, rather
+       than when it was introduced to the history overall.
+
 -p::
 --porcelain::
        Show in a format designed for machine consumption.