git-fast-export ?
- From
Han-Wen Nienhuys <hanwen@xs4all.nl>
- Date
- Feb 18, 2007, 12:45 UTC
- Message-ID
- <45D84A6B.3060402@xs4all.nl>
- In-Reply-To
- <20070212011401.GK31488@spearce.org>
Shawn O. Pearce escreveu:
>> Regarding GFI, it's a breeze to work with; my compliments to its >> author. > > Hey, thanks! ;-)
BTW, I just had a brainwave
Wouldn't it make sense to build a git-fast-export, which can be used to interrogate a git-repository: a GIT tool could run a single git command,
git-fast-export
and communicate with that process in a similar fashion, eg.
object-type SP 0ac9f9cb54e7cf400453b85a3ae5f63813f5fdae LF
=>
show-raw SP 0ac9f9cb54e7cf400453b85a3ae5f63813f5fdae LF => data SP 235 LF tree 76c9d63f83530851d911f6ead36e3899929e0cda parent e3559e3c52cf006a6b3b03ec083ed658ba1941ee author Han-Wen Nienhuys <hanwen@lilypond.org> 1171799942 +0100 committer Han-Wen Nienhuys <hanwen@lilypond.org> 1171799942 +0100
ignorance. LF
this would make interfacing with Git from scripts more ergonomical, less dependent on changes in the UI of porcelains, and in some cases more efficient.
-- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen