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

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
Previous: Han-Wen NienhuysNext: Shawn O. Pearce
Message 4 of 5 in “darcs2git.py - convert darcs repository using gfi”
  1. Han-Wen NienhuysFeb 11, 2007
  2. Shawn O. PearceFeb 12, 2007
  3. Han-Wen NienhuysFeb 13, 2007
  4. git-fast-export ?Han-Wen Nienhuys, Feb 18, 2007
  5. Shawn O. PearceFeb 19, 2007

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.