X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-annotate.txt;h=0aba022ba6838442721a0584f3eaa293a3a90f74;hb=d1983677f75469d177b0b948f0b66ad3471a26a2;hp=7baf73111bc6e4fa7668f8aec31b95f20698a6ae;hpb=27ebd6e0443bdd795869f598ecebc9eadd64a26c;p=git.git diff --git a/Documentation/git-annotate.txt b/Documentation/git-annotate.txt index 7baf73111..0aba022ba 100644 --- a/Documentation/git-annotate.txt +++ b/Documentation/git-annotate.txt @@ -7,33 +7,25 @@ git-annotate - Annotate file lines with commit info SYNOPSIS -------- -git-annotate [options] file [revision] +'git annotate' [options] file [revision] DESCRIPTION ----------- Annotates each line in the given file with information from the commit which introduced the line. Optionally annotate 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 more +familiar command name for people coming from other SCM systems. + OPTIONS ------- --l, --long:: - Show long rev (Defaults off). - --t, --time:: - Show raw timestamp (Defaults off). - --r, --rename:: - Follow renames (Defaults on). - --S, --rev-file :: - Use revs from revs-file instead of calling git-rev-list. - --h, --help:: - Show help message. +include::blame-options.txt[] SEE ALSO -------- -gitlink:git-blame[1] +linkgit:git-blame[1] AUTHOR ------ @@ -41,4 +33,4 @@ Written by Ryan Anderson . GIT --- -Part of the gitlink:git[7] suite +Part of the linkgit:git[1] suite