summaryrefslogtreecommitdiff
path: root/t/t9120-git-svn-clone-with-percent-escapes.sh
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-09-08 10:02:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-09-08 21:18:04 (GMT)
commit16805d3e59250769f409480ca3cb739281bc906c (patch)
treec447912506cacebaf3b7e5496196aa99abafd256 /t/t9120-git-svn-clone-with-percent-escapes.sh
parent24fa13cbb7c520f787370b471b4f04652fbb68d5 (diff)
downloadgit-16805d3e59250769f409480ca3cb739281bc906c.zip
git-16805d3e59250769f409480ca3cb739281bc906c.tar.gz
git-16805d3e59250769f409480ca3cb739281bc906c.tar.bz2
t/t91XX-svn: start removing use of "git-" from these tests
Subversion tests use too many "git-foo" form, so I am converting them in two steps. This first step replaces literal strings "remotes/git-svn" and "git-svn-id" by introducing $remotes_git_svn and $git_svn_id constants defined as shell variables. This will reduce the number of false hits from "git grep". Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9120-git-svn-clone-with-percent-escapes.sh')
-rwxr-xr-xt/t9120-git-svn-clone-with-percent-escapes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9120-git-svn-clone-with-percent-escapes.sh b/t/t9120-git-svn-clone-with-percent-escapes.sh
index 5979e13..e5de229 100755
--- a/t/t9120-git-svn-clone-with-percent-escapes.sh
+++ b/t/t9120-git-svn-clone-with-percent-escapes.sh
@@ -21,7 +21,7 @@ else
test_expect_success 'test clone with percent escapes' '
git svn clone "$svnrepo/pr%20ject" clone &&
cd clone &&
- git rev-parse refs/remotes/git-svn &&
+ git rev-parse refs/${remotes_git_svn} &&
cd ..
'
fi