Re: [PATCH] Introduce light weight commit annotations
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jun 10, 2007, 23:20 UTC
- Message-ID
- <20070610232016.GB5761@steel.home>
- In-Reply-To
- <Pine.LNX.4.64.0706091854330.4059@racer.site>
Johannes Schindelin, Sat, Jun 09, 2007 19:55:10 +0200:
Show 9 quoted lines
> > With the provided script, edit-commit-annotations, you can add > after-the-fact annotations to commits, which will be shown by > the log if the config variable core.showannotations is set. > > The annotations are tracked in a new ref, refs/annotations/commits, > in the same fan-out style as .git/objects/??/*, only that they only > exist in the object database now. >
I like it too. And "notes" _is_ less to type :)
BTW, the annotations are a bit cumbersome to merge, if this implementation is to stay (and I personally would like it to) we may have to mention this little inconvenience somewhere.
And can I suggest an interface like the below?
git notes [[--show] <commit>+] [-d|--delete <commit>+] [-e|--edit <commit>]
With the annotations file being completely removed if it is empty.