summaryrefslogtreecommitdiff
path: root/t/t9104-git-svn-follow-parent.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-01 11:30:31 (GMT)
committerEric Wong <normalperson@yhbt.net>2007-02-23 08:57:11 (GMT)
commitd8115c5104dbee29433a7f33a3e0d3e1738a581e (patch)
treeb301c2b62aa8d5cd4c7dcbe0a4363a86d02c1810 /t/t9104-git-svn-follow-parent.sh
parentce4b4af7ff36d4e4999da937dffd2f9a3a420277 (diff)
downloadgit-d8115c5104dbee29433a7f33a3e0d3e1738a581e.zip
git-d8115c5104dbee29433a7f33a3e0d3e1738a581e.tar.gz
git-d8115c5104dbee29433a7f33a3e0d3e1738a581e.tar.bz2
git-svn: don't write to the config file from --follow-parent
Having 'fetch' entries in the config file created from --follow-parent is wasteful because it can cause *future* of invocations to follow revisions we were never interested in in the first place. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t9104-git-svn-follow-parent.sh')
-rwxr-xr-xt/t9104-git-svn-follow-parent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9104-git-svn-follow-parent.sh b/t/t9104-git-svn-follow-parent.sh
index 41b9c19..7c852c1 100755
--- a/t/t9104-git-svn-follow-parent.sh
+++ b/t/t9104-git-svn-follow-parent.sh
@@ -34,7 +34,7 @@ test_expect_success 'init and fetch --follow-parent a moved directory' "
= \"\`git-rev-parse --verify refs/remotes/thunk~1\`\" &&
test \"\`git-cat-file blob refs/remotes/thunk:readme |\
sed -n -e '3p'\`\" = goodbye &&
- test -n \"\`git-config --get svn-remote.git-svn.fetch \
+ test -z \"\`git-config --get svn-remote.git-svn.fetch \
'^trunk:refs/remotes/thunk@2$'\`\"
"