Skip to content

Commit b452cc1

Browse files
moygitster
authored andcommitted
Document git blame --reverse.
This was introduced in 85af792 but not documented outside the commit message. Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c4ba87a commit b452cc1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Documentation/blame-options.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ of lines before or after the line given by <start>.
4141
-S <revs-file>::
4242
Use revs from revs-file instead of calling linkgit:git-rev-list[1].
4343

44+
--reverse::
45+
Walk history forward instead of backward. Instead of showing
46+
the revision in which a line appeared, this shows the last
47+
revision in which a line has existed. This requires a range of
48+
revision like START..END where the path to blame exists in
49+
START.
50+
4451
-p::
4552
--porcelain::
4653
Show in a format designed for machine consumption.

Documentation/git-blame.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SYNOPSIS
1010
[verse]
1111
'git blame' [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-p] [-w] [--incremental] [-L n,m]
1212
[-S <revs-file>] [-M] [-C] [-C] [--since=<date>]
13-
[<rev> | --contents <file>] [--] <file>
13+
[<rev> | --contents <file> | --reverse <rev>] [--] <file>
1414

1515
DESCRIPTION
1616
-----------

0 commit comments

Comments
 (0)