t9903: add tests for git-prompt pcmode
[gitweb.git] / t / t4114-apply-typechange.sh
index 0f185caa44f3a9d048a2c058d963a1e86e9984fd..ebadbc347fc4fd9d435a366e46e3e1cebba81b83 100755 (executable)
@@ -16,13 +16,12 @@ test_expect_success 'setup repository and commits' '
        git commit -m initial &&
        git branch initial &&
        rm -f foo &&
-       ln -s bar foo &&
-       git update-index foo &&
+       test_ln_s_add bar foo &&
        git commit -m "foo symlinked to bar" &&
        git branch foo-symlinked-to-bar &&
-       rm -f foo &&
+       git rm -f foo &&
        echo "how far is the sun?" > foo &&
-       git update-index foo &&
+       git update-index --add foo &&
        git commit -m "foo back to file" &&
        git branch foo-back-to-file &&
        printf "\0" > foo &&