Re: git/cogito suggestion: tags with descriptions
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 12, 2005, 01:00 UTC
- Message-ID
- <20050912010051.GJ15630@pasky.or.cz>
- In-Reply-To
- <20050905212431.GB14720@tumblerings.org>
Dear diary, on Mon, Sep 05, 2005 at 11:24:31PM CEST, I got a letter where Zack Brown <zbrown@tumblerings.org> told me that...
Show 26 quoted lines
> I'm not sure. I'm not as familiar with the low-level git commands as I am with > cogito. But cogito has a -d option for giving a tag description. I guess what > would be closest to what I was thinking about would be this: > > $ cg-tag -d "First draft, everything in place." 0.3 7540e503b9b9c1b03e44ee7fd700c844b2a02224 > $ cg-tag-ls > 0.1 Initial idea complete f953b71b21a0bea682c2bed91362f2dce2cc204f > 0.3 First draft, everything in place. 7540e503b9b9c1b03e44ee7fd700c844b2a02224 > $ > > or something like that. Currently when I do the above cg-tag command, > a subsequent cg-tag-ls gives just: > > $ cg-tag-ls > 0.1 f953b71b21a0bea682c2bed91362f2dce2cc204f > 0.3 7540e503b9b9c1b03e44ee7fd700c844b2a02224 > > In fact, I probably wouldn't even be interested in seeing the actual hash key > unless I gave a special flag, maybe -f (for "full"): > > $ cg-tag-ls > 0.1 Initial idea complete > 0.3 First draft, everything in place. > $ cg-tag-ls -f > 0.1 Initial idea complete f953b71b21a0bea682c2bed91362f2dce2cc204f > 0.3 First draft, everything in place. 7540e503b9b9c1b03e44ee7fd700c844b2a02224
That's a nice idea (except that I'd prefer -l). I'll implement this after cogito-0.14.
Thanks,
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox