fast-import: let importers retrieve blobs
[gitweb.git] / t / t2050-git-dir-relative.sh
index 88f268b9d7a696a06f5ce560c1e8ed0f3d8dc3a3..21f4659a9d1c22fcc8c9eb3261315d67988dad2f 100755 (executable)
@@ -26,8 +26,8 @@ chmod +x .git/hooks/post-commit'
 
 test_expect_success 'post-commit hook used ordinarily' '
 echo initial >top &&
-git-add top
-git-commit -m initial &&
+git add top &&
+git commit -m initial &&
 test -r "${COMMIT_FILE}"
 '
 
@@ -45,7 +45,7 @@ test -r "${COMMIT_FILE}"
 rm -rf "${COMMIT_FILE}"
 
 test_expect_success 'post-commit-hook from sub dir' '
-echo changed again >top
+echo changed again >top &&
 cd subdir &&
 git --git-dir .git --work-tree .. add ../top &&
 git --git-dir .git --work-tree .. commit -m subcommit &&