diff options
author | Jeff King <peff@peff.net> | 2016-05-13 16:47:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-13 13:59:58 -0700 |
commit | e1c0c158b13bf78486d6cc2766d6cb69782c5173 (patch) | |
tree | 5d5b4128f04bae8667afaf39666338c9f4687b64 /t/t9153-git-svn-rewrite-uuid.sh | |
parent | edec3709db124a96134a64d8fd1117ca50f90f7c (diff) | |
download | git-e1c0c158b13bf78486d6cc2766d6cb69782c5173.tar.gz |
t/lib-git-svn: drop $remote_git_svn and $git_svn_id
These variables were added in 16805d3 (t/t91XX-svn: start
removing use of "git-" from these tests, 2008-09-08) so that
running:
git grep git-
would return fewer hits. At the time, we were transitioning
away from the use of the "dashed" git-foo form.
That transition has been over for years, and grepping for
"git-" in the test suite yields thousands of hits anyway
(all presumably false positives).
With their original purpose gone, these variables serve only
to obfuscate the tests. Let's get rid of them.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9153-git-svn-rewrite-uuid.sh')
-rwxr-xr-x | t/t9153-git-svn-rewrite-uuid.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9153-git-svn-rewrite-uuid.sh b/t/t9153-git-svn-rewrite-uuid.sh index 88a2cfa233..372ef15685 100755 --- a/t/t9153-git-svn-rewrite-uuid.sh +++ b/t/t9153-git-svn-rewrite-uuid.sh @@ -17,9 +17,9 @@ test_expect_success 'load svn repo' " test_expect_success 'verify uuid' " git cat-file commit refs/remotes/git-svn~0 | \ - grep '^${git_svn_id}: .*@2 $uuid$' && + grep '^git-svn-id: .*@2 $uuid$' && git cat-file commit refs/remotes/git-svn~1 | \ - grep '^${git_svn_id}: .*@1 $uuid$' + grep '^git-svn-id: .*@1 $uuid$' " test_done |