Subject: git-fast-export ?

From: Han-Wen Nienhuys <[email-masked]>
Date: Sun, 18 Feb 2007 13:45:31 +0100

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 <[email-masked]> 1171799942 +0100
committer Han-Wen Nienhuys <[email-masked]> 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 - [email-masked] - http://www.xs4all.nl/~hanwen