----- Original Message ----- From: Michael J Gruber Date: 9/20/2011 9:10 AM
Can you provide a simple test case, such as this one: ---%<--- #!/bin/sh rm -Rf utest || exit 1 mkdir utest || exit 1 cd utest || exit 1 git init echo tracked>a git add a git commit -m a a git branch side echo tracked>b git add b git commit -m b cat b git checkout side cat b echo untracked>b cat b git checkout master cat b ---%<--- Does this test reproduce your problem on msysgit?
As listed, your script produces the same results on msysGit. It appears the issue is related to sparse checkouts: ---%<--- #!/bin/sh rm -Rf utest || exit 1 mkdir utest || exit 1 cd utest || exit 1 git init git config core.sparseCheckout true echo *>.git/info/sparse-checkout echo tracked>a git add a git commit -m a a git branch side echo tracked>b git add b git commit -m b cat b git checkout side cat b echo untracked>b cat b git checkout master cat b ---%<--- -Josh -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html