git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: blame vs annotate?

From
Petr Baudis <pasky@suse.cz>
Date
Sep 3, 2008, 17:54 UTC
Message-ID
<20080903175422.GV10544@machine.or.cz>
In-Reply-To
<20080903174939.GH16514@genesis.frugalware.org>
On Wed, Sep 03, 2008 at 07:49:39PM +0200, Miklos Vajna wrote:
Show 6 quoted lines
> On Wed, Sep 03, 2008 at 05:43:03PM +0100, Jonathan del Strother <maillist@steelskies.com> wrote:
> > What's the difference between 'git blame' & 'git annotate'?  The
> > output is practically identical - it's not obvious when you would use
> > one over the other
> 
> 'git annoate' is the same as 'git blame -c'.

But 'git blame -c' is defined as "the same as 'git annotate'". So this answer does not really help. :-)

(And yes, I'd love to hear some as well. When pruning the completion list, I've been on the verge of setting 'git annotate' as deprecated, but decided to do that in a separate patch later and properly. Please someone beat me to it. ;-)

				Petr "Pasky" Baudis
Previous: Miklos VajnaNext: Junio C Hamano
Message 3 of 17 in “blame vs annotate?”
  1. Jonathan del StrotherSep 3, 2008
  2. Miklos VajnaSep 3, 2008
  3. Petr BaudisSep 3, 2008
  4. Junio C HamanoSep 3, 2008
  5. Matthieu MoySep 4, 2008
  6. Sverre RabbelierSep 4, 2008
  7. Mention the fact that 'git annotate' is only for backward compatibility.Matthieu Moy, Sep 4, 2008
  8. Petr BaudisSep 4, 2008
  9. Mention the fact that 'git annotate' is only for backward compatibility.Matthieu Moy, Sep 4, 2008
  10. Junio C HamanoSep 4, 2008
  11. Junio C HamanoSep 4, 2008
  12. Matthieu MoySep 5, 2008
  13. Junio C HamanoSep 5, 2008
  14. Petr BaudisSep 5, 2008
  15. Matthieu MoySep 5, 2008
  16. Junio C HamanoSep 5, 2008
  17. Jakub NarebskiSep 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.