From: Marc Herbert <Marc.Herbert+news@gmail.com>
To: git@vger.kernel.org
Subject: git clone, hardlinks and multiple users?
Date: Fri, 20 Jan 2012 17:31:59 +0000 [thread overview]
Message-ID: <jfc8eh$ck5$1@dough.gmane.org> (raw)
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
next reply other threads:[~2012-01-20 21:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 17:31 Marc Herbert [this message]
2012-01-21 22:54 ` git clone, hardlinks and multiple users? Neal Kreitzinger
2012-01-23 17:55 ` Marc Herbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jfc8eh$ck5$1@dough.gmane.org' \
--to=marc.herbert+news@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.