mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
![Michael Haggerty](/assets/img/avatar_default.png)
Teach "git blame" and "git annotate" the --compaction-heuristic and --indent-heuristic options that are now supported by "git diff". Also teach them to honor the `diff.compactionHeuristic` and `diff.indentHeuristic` configuration options. It would be conceivable to introduce separate configuration options for "blame" and "annotate"; for example `blame.compactionHeuristic` and `blame.indentHeuristic`. But it would be confusing to users if blame output is inconsistent with diff output, so it makes more sense for them to respect the same configuration. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
35 lines
790 B
Plaintext
35 lines
790 B
Plaintext
git-annotate(1)
|
|
===============
|
|
|
|
NAME
|
|
----
|
|
git-annotate - Annotate file lines with commit information
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git annotate' [options] file [revision]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Annotates each line in the given file with information from the commit
|
|
which introduced the line. Optionally annotates from a given revision.
|
|
|
|
The only difference between this command and linkgit:git-blame[1] is that
|
|
they use slightly different output formats, and this command exists only
|
|
for backward compatibility to support existing scripts, and provide a more
|
|
familiar command name for people coming from other SCM systems.
|
|
|
|
OPTIONS
|
|
-------
|
|
include::blame-options.txt[]
|
|
include::diff-heuristic-options.txt[]
|
|
|
|
SEE ALSO
|
|
--------
|
|
linkgit:git-blame[1]
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|