diff options
Diffstat (limited to 'third_party/git/t/t2009-checkout-statinfo.sh')
-rwxr-xr-x | third_party/git/t/t2009-checkout-statinfo.sh | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/third_party/git/t/t2009-checkout-statinfo.sh b/third_party/git/t/t2009-checkout-statinfo.sh deleted file mode 100755 index f3c21520877e..000000000000 --- a/third_party/git/t/t2009-checkout-statinfo.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -test_description='checkout should leave clean stat info' - -. ./test-lib.sh - -test_expect_success 'setup' ' - - echo hello >world && - git update-index --add world && - git commit -m initial && - git branch side && - echo goodbye >world && - git update-index --add world && - git commit -m second - -' - -test_expect_success 'branch switching' ' - - git reset --hard && - test "$(git diff-files --raw)" = "" && - - git checkout master && - test "$(git diff-files --raw)" = "" && - - git checkout side && - test "$(git diff-files --raw)" = "" && - - git checkout master && - test "$(git diff-files --raw)" = "" - -' - -test_expect_success 'path checkout' ' - - git reset --hard && - test "$(git diff-files --raw)" = "" && - - git checkout master world && - test "$(git diff-files --raw)" = "" && - - git checkout side world && - test "$(git diff-files --raw)" = "" && - - git checkout master world && - test "$(git diff-files --raw)" = "" - -' - -test_done - |