Skip to content

Commit 38c356a

Browse files
bagasmegitster
authored andcommitted
blame: describe default output format
While there is descriptions for porcelain and incremental output formats, the default format isn't described. Describe that format for the sake of completeness. Signed-off-by: Bagas Sanjaya <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 94f6e3e commit 38c356a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/git-blame.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ include::blame-options.txt[]
9393
is used for a caret to mark the boundary commit.
9494

9595

96+
THE DEFAULT FORMAT
97+
------------------
98+
99+
When neither `--porcelain` nor `--incremental` option is specified,
100+
`git blame` will output annotation for each line with:
101+
102+
- abbreviated object name for the commit the line came from;
103+
- author ident (by default author name and date, unless `-s` or `-e`
104+
is specified); and
105+
- line number
106+
107+
before the line contents.
108+
96109
THE PORCELAIN FORMAT
97110
--------------------
98111

0 commit comments

Comments
 (0)