[PATCH] blame-options.txt: document --first-parent option
- From
Raymond E. Pasco <ray@ameretat.dev>
- Date
- Aug 6, 2020, 18:52 UTC
- Message-ID
- <20200806185243.27179-1-ray@ameretat.dev>
- In-Reply-To
- <xmqq1rkjljus.fsf@gitster.c.googlers.com>
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> --- Documentation/blame-options.txt | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/Documentation/blame-options.txt b/Documentation/blame-options.txt index 5d122db6e9..88750af7ae 100644 --- a/Documentation/blame-options.txt +++ b/Documentation/blame-options.txt @@ -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.
-- 2.28.0