Thread (1 message) 1 message, 1 author, 2016-06-15

Re: feature request: git annotate -w like git blame -w

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:28

Jakub Narebski [off-list ref] writes:
"Raoul Bhatia [IPAX]" [off-list ref] writes:
quoted
is it possible to add a "git annotate -w" option like git blame has?
Why not use "git blame -c -w"?  `-c' turns on annotate-compatibile
output.

From git-annotate(1) manpage:

   The only difference between this command and git-blame(1) is that they  use
   slightly  different  output formats, and this command exists only for back-
   ward compatibility to support existing scripts, and provide a more familiar
   command name for people coming from other SCM systems.
Somebody may want to compare git-blame.txt and git-annotate.txt in
Documentation/, notice that they share blame-options.txt and that the
former has accumulated option descriptions for a few more options that
should have been placed in blame-options.txt, and then prepare a patch to
improve the documentation?  Hint, hint...

I *think* '-c', '-f', and '-n' are blame-only options but all others would
work with annotate (whoever is doing the patch needs to verify this,
though).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help