diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2020-05-20 17:36:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-20 10:39:01 -0700 |
commit | cdb73ca56f21835b93345442a96c97f6a0589ef7 (patch) | |
tree | ff5bb46f3348f16a57ae4c949105d6298b9ec6a8 /t/t9020-remote-svn.sh | |
parent | d1eb22da09e0ffebbd6c16ef1d0e952ec7b88b8d (diff) | |
download | git-cdb73ca56f21835b93345442a96c97f6a0589ef7.tar.gz |
t: use update-ref and show-ref to reading/writing refs
Reading and writing .git/refs/* assumes that refs are stored in the 'files'
ref backend.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9020-remote-svn.sh')
-rwxr-xr-x | t/t9020-remote-svn.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9020-remote-svn.sh b/t/t9020-remote-svn.sh index 6fca08e5e3..9fcfa969a9 100755 --- a/t/t9020-remote-svn.sh +++ b/t/t9020-remote-svn.sh @@ -48,8 +48,8 @@ test_expect_success REMOTE_SVN 'simple fetch' ' ' test_debug ' - cat .git/refs/svn/svnsim/master - cat .git/refs/remotes/svnsim/master + git show-ref -s refs/svn/svnsim/master + git show-ref -s refs/remotes/svnsim/master ' test_expect_success REMOTE_SVN 'repeated fetch, nothing shall change' ' |