git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug? - git-checkout treeish paths  ignores deleted files
@ 2007-10-09  0:58 Mark Levedahl
  2007-10-09  1:52 ` Wincent Colaiuta
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Levedahl @ 2007-10-09  0:58 UTC (permalink / raw)
  To: Git Mailing List

Shouldn't   "git checkout topic path"  make the directory tree rooted at 
path identical to what is on branch topic? It doesn't.

Try this:

mkdir test
cd test
git init
touch a b
git add a b
git commit -m 'base'
git checkout -b topic
git rm a
git commit -m 'removed a'
git checkout master
git checkout topic .

...and the result is...
ls
a   b

instead of
b

Mark

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

end of thread, other threads:[~2007-10-09 10:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09  0:58 bug? - git-checkout treeish paths ignores deleted files Mark Levedahl
2007-10-09  1:52 ` Wincent Colaiuta
2007-10-09  3:39   ` Mark Levedahl
2007-10-09 10:20     ` Wincent Colaiuta

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