Skip to content

Commit 11bc12a

Browse files
jupedgitster
authored andcommitted
blame-options.txt: document --first-parent option
blame/annotate have supported --first-parent since commit 95a4fb0 ("blame: handle --first-parent"). This adds a blurb on that option to the documentation. Signed-off-by: Raymond E. Pasco <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47ae905 commit 11bc12a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/blame-options.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ include::line-range-format.txt[]
3636
START. `git blame --reverse START` is taken as `git blame
3737
--reverse START..HEAD` for convenience.
3838

39+
--first-parent::
40+
Follow only the first parent commit upon seeing a merge
41+
commit. This option can be used to determine when a line
42+
was introduced to a particular integration branch, rather
43+
than when it was introduced to the history overall.
44+
3945
-p::
4046
--porcelain::
4147
Show in a format designed for machine consumption.

0 commit comments

Comments
 (0)