Add new @ shortcut for HEAD
[gitweb.git] / t / t3001-ls-files-others-exclude.sh
index ec4fae2f3978d5a1127dfb7f20690b60a61bd013..4e3735f0cb28d2b545f59a2464ea74bea4b626a1 100755 (executable)
@@ -103,7 +103,7 @@ test_expect_success \
      test_cmp expect output'
 
 test_expect_success 'restore gitignore' '
-       git checkout $allignores &&
+       git checkout --ignore-skip-worktree-bits $allignores &&
        rm .git/index
 '