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

Re: git/cogito suggestion: tags with descriptions

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Sep 5, 2005, 21:24 UTC
Message-ID
<20050905212431.GB14720@tumblerings.org>
In-Reply-To
<7vd5nn49uz.fsf@assigned-by-dhcp.cox.net>
Hi Junio!
On Mon, Sep 05, 2005 at 12:01:40PM -0700, Junio C Hamano wrote:
Show 18 quoted lines
> Zack Brown <zbrown@tumblerings.org> writes:
> 
> > It would be great if tags also allowed a brief description to go along with
> > them, that would show up in cg-tag-ls. Then I could seek to a tag that's just
> > an easy-to-type version number, and still have an idea of what's significant
> > about that version because of the descriptive text.
> 
> Would 'git tag -a' work for you?
> 
> : siamese; git tag -a -m 'This is to just demonstrate.' test-for-brown
> : siamese; git cat-file tag test-for-brown
> object 0516de30e8bdd26086e2a3edd3375981fd0c34d6
> type commit
> tag test-for-brown
> tagger Junio C Hamano <junkio@cox.net> 1125946805 -0700
> 
> This is to just demonstrate.
> : siamese; 

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 $

> 
> BTW, when will the next issue of GIT traffic appear ;-)?

Honestly, I don't know. I seem to be having my hands full just trying to keep Kernel Traffic up-to-date (just caught up today, finally). I really did the first Git Traffic to kind of spread the word about how mind-blowing the whole git development process was.

But whether I'll keep on doing it, I don't know. Between Kernel Traffic, my day job, and a few non-Linux projects, I may have my hands full.

On the other hand, if someone wanted to volunteer to write Git Traffic, I'd be happy to help them get started. I don't mean you, but perhaps a regular reader of this list would be interested. It seems like there's at least some interest in seeing it continue. :-)

Be well, Zack

Show 6 quoted lines
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Zack Brown
Previous: Junio C HamanoNext: Petr Baudis
Message 3 of 7 in “git/cogito suggestion: tags with descriptions”
  1. Zack BrownSep 5, 2005
  2. Junio C HamanoSep 5, 2005
  3. Zack BrownSep 5, 2005
  4. Petr BaudisSep 12, 2005
  5. Petr BaudisApr 8, 2006
  6. Junio C HamanoSep 8, 2005
  7. A Large Angry SCMSep 8, 2005

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.