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

Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 26, 2007, 16:47 UTC
Message-ID
<Pine.LNX.4.64.0711261646170.27959@racer.site>
In-Reply-To
<20071123205958.GC14735@spearce.org>
Hi,
On Fri, 23 Nov 2007, Shawn O. Pearce wrote:
Show 27 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > On Thu, 22 Nov 2007, Han-Wen Nienhuys wrote:
> > 
> > > > Maybe you want to specify if all blobs should be output first, and 
> > > > then the commits?  Or files should be used?  But all of these things 
> > > > seem to be useless to me.
> > > 
> > > No, I want the program to wait for me to tell it what 
> > > blobs/commits/trees I want. The commit I want to see secondly may depend 
> > > on the output I read in the first request blob. Right now, for each data 
> > > dependency I have to start a new git process.
> > 
> > It does not seem like you want a mirror of fast-import, but rather a 
> > driver.  You might be happy to hear that you can do that already.  Today.
> > However, you probably want to query different programs about certain 
> > states of the repository.  This will not change.
> > 
> > > > > Besides being a nuisance, I actually run git on NFS, and every git 
> > > > > process has to go to NFS a couple times to retrieve the same 
> > > > > information. This has a noticeable performance impact.
> 
> I have been considering creating a "git-gui daemon" process that links 
> to libgit.a and can be driven bidirectionally through its stdin/stdout.  
> Based on git-fast-export, sorta.  But I haven't even started it...
> 
> But the idea is sort of what Han-Wen wants.  Why should I fork rev-parse 
> to get a ref value?  Or update-ref to change one?

I was thinking about this a little bit more. But I cannot think of a really versatile way of enhancing fast-export enough to be of use there. Well, if not doing something with SWIG, that is ;-)

Ciao, Dscho

Previous: Johannes SchindelinNext: Nguyen Thai Ngoc Duy
Message 21 of 27 in “Add 'git fast-export', the sister of 'git fast-import'”
  1. Add 'git fast-export', the sister of 'git fast-import'Johannes Schindelin, Nov 21, 2007
  2. Johannes SixtNov 21, 2007
  3. Shawn O. PearceNov 21, 2007
  4. Johannes SchindelinNov 21, 2007
  5. Andreas EricssonNov 21, 2007
  6. Johannes SchindelinNov 21, 2007
  7. Andreas EricssonNov 21, 2007
  8. Geert BoschNov 21, 2007
  9. Johannes SchindelinNov 21, 2007
  10. Han-Wen NienhuysNov 23, 2007
  11. Johannes SchindelinNov 23, 2007
  12. Han-Wen NienhuysNov 23, 2007
  13. Johannes SchindelinNov 23, 2007
  14. Shawn O. PearceNov 23, 2007
  15. Karl HasselströmNov 25, 2007
  16. Johannes SchindelinNov 26, 2007
  17. Karl HasselströmNov 27, 2007
  18. Johannes SchindelinNov 27, 2007
  19. Karl HasselströmNov 27, 2007
  20. Johannes SchindelinNov 27, 2007
  21. Johannes SchindelinNov 26, 2007
  22. Nguyen Thai Ngoc DuyNov 23, 2007
  23. Johannes SchindelinNov 23, 2007
  24. Shawn O. PearceNov 23, 2007
  25. Nguyen Thai Ngoc DuyNov 24, 2007
  26. Johannes SchindelinNov 27, 2007
  27. Nguyen Thai Ngoc DuyNov 27, 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.