On Wed, Jul 13, 2005 at 02:05:35PM -0700, Linus Torvalds wrote: > > and .git/refs/head/master is hardlinked between both trees. > > AND THAT IS WRONG.
OK, I was more-or-less assuming that 'cp -Rl tree1 tree2' was always a valid thing to do. Clearly if it's not then all of this is somewhat moot. > You shouldn't hardlink whole trees. Git will not guarantee that it > breaks the links. I can live with that, until now though I wasn't aware that hardlinked trees were a bad-thing. > Your script was tens of lines of code, and it was BUGGY. Yeah well, I'm a retard. > Hardlink git _object_ directories. That's a totally different thing. I was under the misconception that hardlink entire trees was permissible. I would however like to be able to hardlink more than just the _object_ directory --- hardlinking the source is quite nice too. Might that be considered safe? (I'm of course assuming that editors do write + rename when saving their buffers). - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html