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

Re: [PATCH] contrib/fast-import: add perl version of simple example

From
Andreas Ericsson <ae@op5.se>
Date
Sep 18, 2007, 10:28 UTC
Message-ID
<46EFA84C.3080906@op5.se>
In-Reply-To
<Pine.LNX.4.64.0709181115250.28586@racer.site>
Johannes Schindelin wrote:
Show 13 quoted lines
> Hi,
> 
> On Tue, 18 Sep 2007, Jeff King wrote:
> 
>> This is based on the git-import.sh script, but is a little
>> more robust and efficient. More importantly, it should
>> serve as a quick template for interfacing fast-import with
>> perl scripts.
> 
> Yes, please!  Maybe somebody will then grab the low-hanging fruit of 
> writing a "git-fast-export", which can be used to dump a complete 
> repository in text format?
> 

I thought that was already taken care of since format-patch handles --root flag properly?

Otherwise, "git repack -a --window=0 --depth=0" should provide an easily parseable dump of an entire repo.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Johannes SchindelinNext: Jeff King
Message 4 of 11 in “contrib/fast-import: add perl version of simple example”
  1. contrib/fast-import: add perl version of simple exampleJeff King, Sep 18, 2007
  2. Jeff KingSep 18, 2007
  3. Johannes SchindelinSep 18, 2007
  4. Andreas EricssonSep 18, 2007
  5. Jeff KingSep 18, 2007
  6. Johannes SchindelinSep 18, 2007
  7. Andreas EricssonSep 18, 2007
  8. Sam VilainSep 18, 2007
  9. Johannes SchindelinSep 18, 2007
  10. Sam VilainSep 18, 2007
  11. Johannes SchindelinSep 18, 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.