mirror of
https://github.com/git/git
synced 2024-10-30 14:03:28 +00:00
df8738116f
The cmd_blame() already detected whether it was processing "blame" or "annotate", but it didn't adjust its usage output accordingly. Let's do that. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
33 lines
771 B
Text
33 lines
771 B
Text
git-annotate(1)
|
|
===============
|
|
|
|
NAME
|
|
----
|
|
git-annotate - Annotate file lines with commit information
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git annotate' [<options>] [<rev-opts>] [<rev>] [--] <file>
|
|
|
|
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[]
|
|
|
|
SEE ALSO
|
|
--------
|
|
linkgit:git-blame[1]
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|