git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git clone, hardlinks and multiple users?
@ 2012-01-20 17:31 Marc Herbert
  2012-01-21 22:54 ` Neal Kreitzinger
  2012-01-23 17:55 ` Marc Herbert
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Herbert @ 2012-01-20 17:31 UTC (permalink / raw)
  To: git

Hi,

   "git clone" is using hardlinks by default, even when cloning from a 
different user. In such a case the clone ends up with a number of files 
owned by someone else.

Since only immutable objects are cloned this seems to work fine. However 
I would like to know if this "multiple users" case works by chance or by 
specification.

In other words, is there a guarantee that no later version of git or no 
obscure option I haven't used yet will ever try to touch a hardlink in 
any way like for instance: trying update some metadata timestamp or, 
overwrite it with the same value by lack of optimization, or any other 
kind of side-effect that would obviously fail.

Thanks in advance!

Marc

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

end of thread, other threads:[~2012-01-23 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-20 17:31 git clone, hardlinks and multiple users? Marc Herbert
2012-01-21 22:54 ` Neal Kreitzinger
2012-01-23 17:55 ` Marc Herbert

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