Skip to content

Commit 63c0c2c

Browse files
committed
Merge branch 'jc/blame-follows-renames' into maint
It was unclear in the documentation for "git blame" that it is unnecessary for users to use the "--follow" option. * jc/blame-follows-renames: git blame: document that it always follows origin across whole-file renames
2 parents 6e20357 + e5dce96 commit 63c0c2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/git-blame.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ last modified the line. Optionally, start annotating from the given revision.
2020

2121
The command can also limit the range of lines annotated.
2222

23+
The origin of lines is automatically followed across whole-file
24+
renames (currently there is no option to turn the rename-following
25+
off). To follow lines moved from one file to another, or to follow
26+
lines that were copied and pasted from another file, etc., see the
27+
`-C` and `-M` options.
28+
2329
The report does not tell you anything about lines which have been deleted or
2430
replaced; you need to use a tool such as 'git diff' or the "pickaxe"
2531
interface briefly mentioned in the following paragraph.

0 commit comments

Comments
 (0)