git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG (or misfeature?)] git checkout and symlinks
@ 2007-07-04 20:35 Pierre Habouzit
  2007-07-04 20:52 ` Junio C Hamano
  2007-07-12  8:04 ` Teach read-tree 2-way merge to ignore intermediate symlinks Junio C Hamano
  0 siblings, 2 replies; 11+ messages in thread
From: Pierre Habouzit @ 2007-07-04 20:35 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

  if in a branch [branch1] you track the file: dir1/file1.c
and in the branch [branch2] you track elsewhere/file1.c and dir1 be
symlink on elsewhere, then it's not possible to checkout the branch
[branch1] if your previous checkout was [branch2]. You have to manually
remove the symlink `dir1` else git complains that checkouting branch1
would overwrite dir1/file1.c.

  I'm not sure how to fix this, and it's quite painful actually :)

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-07-12 19:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 20:35 [BUG (or misfeature?)] git checkout and symlinks Pierre Habouzit
2007-07-04 20:52 ` Junio C Hamano
2007-07-04 21:05   ` Pierre Habouzit
2007-07-04 22:23     ` $ " Pierre Habouzit
2007-07-12  8:04 ` Teach read-tree 2-way merge to ignore intermediate symlinks Junio C Hamano
2007-07-12  8:31   ` git-log --follow? Junio C Hamano
2007-07-12 10:44     ` Johannes Schindelin
2007-07-12 17:49     ` Linus Torvalds
2007-07-12 18:45       ` Junio C Hamano
2007-07-12 19:01         ` Linus Torvalds
2007-07-12 12:40   ` Teach read-tree 2-way merge to ignore intermediate symlinks Pierre Habouzit

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