1-b::
2Show blank SHA-1 for boundary commits. This can also
3be controlled via the `blame.blankboundary` config option.
45
--root::
6Do not treat root commits as boundaries. This can also be
7controlled via the `blame.showroot` config option.
89
--show-stats::
10Include additional statistics at the end of blame output.
1112
-L <start>,<end>::
13Annotate only the given line range. <start> and <end> can take
14one of these forms:
1516
- number
17+
18If <start> or <end> is a number, it specifies an
19absolute line number (lines count from 1).
20+
2122
- /regex/
23+
24This form will use the first line matching the given
25POSIX regex. If <end> is a regex, it will search
26starting at the line given by <start>.
27+
2829
- +offset or -offset
30+
31This is only valid for <end> and will specify a number
32of lines before or after the line given by <start>.
33+
3435
-l::
36Show long rev (Default: off).
3738
-t::
39Show raw timestamp (Default: off).
4041
-S <revs-file>::
42Use revs from revs-file instead of calling linkgit:git-rev-list[1].
4344
-p::
45--porcelain::
46Show in a format designed for machine consumption.
4748
--incremental::
49Show the result incrementally in a format designed for
50machine consumption.
5152
--encoding=<encoding>::
53Specifies the encoding used to output author names
54and commit summaries. Setting it to `none` makes blame
55output unconverted data. For more information see the
56discussion about encoding in the linkgit:git-log[1]
57manual page.
5859
--contents <file>::
60When <rev> is not specified, the command annotates the
61changes starting backwards from the working tree copy.
62This flag makes the command pretend as if the working
63tree copy has the contents of the named file (specify
64`-` to make the command read from the standard input).
6566
-M|<num>|::
67Detect moving lines in the file as well. When a commit
68moves a block of lines in a file (e.g. the original file
69has A and then B, and the commit changes it to B and
70then A), traditional 'blame' algorithm typically blames
71the lines that were moved up (i.e. B) to the parent and
72assigns blame to the lines that were moved down (i.e. A)
73to the child commit. With this option, both groups of lines
74are blamed on the parent.
75+
76<num> is optional but it is the lower bound on the number of
77alphanumeric characters that git must detect as moving
78within a file for it to associate those lines with the parent
79commit.
8081
-C|<num>|::
82In addition to `-M`, detect lines copied from other
83files that were modified in the same commit. This is
84useful when you reorganize your program and move code
85around across files. When this option is given twice,
86the command looks for copies from all other files in the
87parent for the commit that creates the file in addition.
88+
89<num> is optional but it is the lower bound on the number of
90alphanumeric characters that git must detect as moving
91between files for it to associate those lines with the parent
92commit.
9394
-h::
95--help::
96Show help message.