git-status: do not be totally useless in a read-only repository.
[gitweb.git] / t / t3200-branch.sh
index bb80e4286a7144e88aca9839c26b9fd99ff6cd4e..5565c27033ab89959f2a39dfa9abaea99e40432b 100755 (executable)
@@ -94,7 +94,7 @@ test_expect_failure \
          git-branch r &&
          git-branch -m q r/q'
 
-git-repo-config branch.s/s.dummy Hello
+git-config branch.s/s.dummy Hello
 
 test_expect_success \
     'git branch -m s/s s should work when s/t is deleted' \
@@ -107,8 +107,8 @@ test_expect_success \
         test -f .git/logs/refs/heads/s'
 
 test_expect_success 'config information was renamed, too' \
-       "test $(git-repo-config branch.s.dummy) = Hello &&
-        ! git-repo-config branch.s/s/dummy"
+       "test $(git-config branch.s.dummy) = Hello &&
+        ! git-config branch.s/s/dummy"
 
 test_expect_failure \
     'git-branch -m u v should fail when the reflog for u is a symlink' \