update-index: do not die too early in a read-only repository.
[gitweb.git] / t / t5510-fetch.sh
index 3ce9446210bc56443e7a39273699983c1d9a65a4..50c64856f0fd35fd14007e0603a1cf58ce702cec 100755 (executable)
@@ -22,14 +22,14 @@ test_expect_success "clone and setup child repos" '
        cd .. &&
        git clone . two &&
        cd two &&
-       git repo-config branch.master.remote one &&
-       git repo-config remote.one.url ../one/.git/ &&
-       git repo-config remote.one.fetch refs/heads/master:refs/heads/one &&
+       git config branch.master.remote one &&
+       git config remote.one.url ../one/.git/ &&
+       git config remote.one.fetch refs/heads/master:refs/heads/one &&
        cd .. &&
        git clone . three &&
        cd three &&
-       git repo-config branch.master.remote two &&
-       git repo-config branch.master.merge refs/heads/one &&
+       git config branch.master.remote two &&
+       git config branch.master.merge refs/heads/one &&
        mkdir -p .git/remotes &&
        {
                echo "URL: ../two/.git/"