git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* integrity of linux copy of a git repo
@ 2010-10-01 19:47 Neal Kreitzinger
  2010-10-01 20:01 ` Jonathan Nieder
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Kreitzinger @ 2010-10-01 19:47 UTC (permalink / raw)
  To: git

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

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

end of thread, other threads:[~2010-10-01 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 19:47 integrity of linux copy of a git repo Neal Kreitzinger
2010-10-01 20:01 ` Jonathan Nieder

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