From: "Neal Kreitzinger" <neal@rsss.com>
To: git@vger.kernel.org
Subject: integrity of linux copy of a git repo
Date: Fri, 1 Oct 2010 14:47:50 -0500 [thread overview]
Message-ID: <i85dub$fp5$1@dough.gmane.org> (raw)
If I make a recursive linux copy, "cp -rfp", of a git repo working tree is
the resulting copy interchangeable with the original?
e.g.
/orig-wk-tree was created via git-clone with the file:/// url and therefore
is a "full copy"
cp -rfp /orig-wk-tree /orig-wk-tree-copy
(do some stuff that breaks /orig-wk-tree)
rm -rf /orig-wk-tree
mv /orig-wk-tree-copy /orig-wk-tree
Have I truly recovered the full integrity of the original, or have I
unwittingly introduced some sort of corruption?
v/r,
Neal
next reply other threads:[~2010-10-01 19:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-01 19:47 Neal Kreitzinger [this message]
2010-10-01 20:01 ` integrity of linux copy of a git repo Jonathan Nieder
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='i85dub$fp5$1@dough.gmane.org' \
--to=neal@rsss.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.