git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Request] Git export with hardlinks
@ 2013-02-06 15:19 Thomas Koch
  2013-02-08  9:58 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Koch @ 2013-02-06 15:19 UTC (permalink / raw)
  To: git

Hi,

I'd like to script a git export command that can be given a list of already 
exported worktrees and the tree SHA1s these worktrees correspond too. The git 
export command should then for every file it wants to export lookup in the 
existing worktrees whether an identical file is already present and in that 
case hardlink to the new export location instead of writing the same file 
again.

Use Case: A git based web deployment system that exports git trees to be 
served by a web server. Every new deployment is written to a new folder. After 
the export the web server should start serving new requests from the new 
folder.

It might be possible that this is premature optimization. But I'd like to 
learn more Python and dulwich by hacking this.

Do you have any additional thoughts or use cases about this?

Regards,

Thomas Koch, http://www.koch.ro

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-13 13:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 15:19 [Request] Git export with hardlinks Thomas Koch
2013-02-08  9:58 ` Jeff King
2013-02-10 10:33   ` Thomas Koch
2013-02-11 17:13     ` Jeff King
2013-02-13 13:17       ` [ANN] First beta: " Thomas Koch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).