You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue can be reproduced by running the CheckoutTests.DeleteFileThenCheckout functional test.
The test fails because when TestValidationAndCleanup runs the repo is in this state:
GitCommandsTests/DeleteFileTests/1/#test is in ModifiedPaths.Dat
GitCommandsTests/DeleteFileTests is not on disk
Then TestValidationAndCleanup checks out the control commit (which does have GitCommandsTests/DeleteFileTests, and it has several child folders).
When the checkout occurs git creates DeleteFileTests, DeleteFileTests/1, and DeleteFileTests/1/#test. When git creates the folders (unlike in VFSForGit on Windows) the folders are not marked as empty (or recorded as needing to be re-expanded).
As a result, when the command completes DeleteFileTests (and DeleteFileTests/1) are never expanded again and all of their children (other than #test) are missing.
The text was updated successfully, but these errors were encountered:
This issue can be reproduced by running the
CheckoutTests.DeleteFileThenCheckout
functional test.The test fails because when
TestValidationAndCleanup
runs the repo is in this state:GitCommandsTests/DeleteFileTests/1/#test
is in ModifiedPaths.DatGitCommandsTests/DeleteFileTests
is not on diskThen
TestValidationAndCleanup
checks out the control commit (which does haveGitCommandsTests/DeleteFileTests
, and it has several child folders).When the checkout occurs git creates
DeleteFileTests
,DeleteFileTests/1
, andDeleteFileTests/1/#test
. When git creates the folders (unlike in VFSForGit on Windows) the folders are not marked as empty (or recorded as needing to be re-expanded).As a result, when the command completes
DeleteFileTests
(andDeleteFileTests/1
) are never expanded again and all of their children (other than#test
) are missing.The text was updated successfully, but these errors were encountered: