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

Re: [PATCH] cvsimport move over to using git for each ref to read refs

From
Andy Whitcroft <apw@shadowen.org>
Date
Sep 20, 2006, 16:12 UTC
Message-ID
<45116888.4050806@shadowen.org>
In-Reply-To
<7vodtak00n.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 12 quoted lines
> Andy Whitcroft <apw@shadowen.org> writes:
> 
>> I guess we could teach for-each-ref to output this as well?  Perhaps
>> something like authorstamp?
> 
> I think you can work with "author" or "committer" to grab the
> whole raw line.
> 
> About the quoting and parsing, language specific quoting mode is
> meant for git-for-each-ref to produce a string that can be eval'ed
> in the host language.  Think of the command as a tool to write a
> short program for you.

Thanks for the education. Very simple, and very powerful. I knew there was a reason for it out there. Will respin a V3 patch in a bit.

-apw
Previous: Junio C HamanoNext: Andy Whitcroft
Message 8 of 15 in “cvsimport move over to using git for each ref to read refs”
  1. cvsimport move over to using git for each ref to read refsAndy Whitcroft, Sep 20, 2006
  2. Jakub NarebskiSep 20, 2006
  3. Andy WhitcroftSep 20, 2006
  4. 1/2 for each ref add a raw timestamp field typeAndy Whitcroft, Sep 20, 2006
  5. 2/2 cvsimport move over to using git for each ref to read refs V2Andy Whitcroft, Sep 20, 2006
  6. Jakub NarebskiSep 20, 2006
  7. Junio C HamanoSep 20, 2006
  8. Andy WhitcroftSep 20, 2006
  9. cvsimport move over to using git for each ref to read refs V3Andy Whitcroft, Sep 20, 2006
  10. Junio C HamanoSep 20, 2006
  11. Andy WhitcroftSep 20, 2006
  12. Junio C HamanoSep 20, 2006
  13. Junio C HamanoSep 20, 2006
  14. Andy WhitcroftSep 21, 2006
  15. Junio C HamanoSep 22, 2006

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.