git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clarify git clone --local --shared --reference
@ 2007-06-04 23:53 Brandon Casey
  2007-06-05  4:50 ` Shawn O. Pearce
  0 siblings, 1 reply; 10+ messages in thread
From: Brandon Casey @ 2007-06-04 23:53 UTC (permalink / raw)
  To: git


I think the goal of these three objects is space savings (and speed),
but I don't understand when I should prefer one option over another, or
when/whether to use a combination of them. And I am unsure (SCARED)
about any side effects they may have.

This is all based on the information in git-clone.txt. If there is more
detail someplace else please let me know.

1) What does local mean?
   --local says repository must be on the "local" machine and claims it
   attempts to make hardlinks when possible. Of course hard links cannot
   be created across filesystems, so are there other speedups/space
   savings when repository is on local machine but not on the same
   filesystem? Is this option still valid then?

2) Does --shared imply shared write access? Does --local?
    I'll point out that git-init has an option with the same name.

3) --shared seems like a special case of --reference? Are there
    differences?

4) what happens if the source repository dissappears? Is --local ok
    but --shared screwed?

4) is space savings obtained only at initial clone? or is it on going?
    does a future git pull from the source repository create new hard
    links where possible?

Can --shared be used with --reference. Can --reference be used multiple 
times (and would I want to). Does -l with -s get you anything? (the
examples use this)

thanks,
-brandon

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

end of thread, other threads:[~2007-06-13 23:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 23:53 clarify git clone --local --shared --reference Brandon Casey
2007-06-05  4:50 ` Shawn O. Pearce
2007-06-05 16:30   ` Brandon Casey
2007-06-06  5:11     ` Shawn O. Pearce
2007-06-06 18:50       ` Brandon Casey
2007-06-06 18:55         ` Brandon Casey
2007-06-08  5:37         ` Shawn O. Pearce
2007-06-08 15:57           ` Loeliger Jon-LOELIGER
2007-06-08 18:35             ` Brandon Casey
2007-06-13 23:07           ` Brandon Casey

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).