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>
This commit is contained in:

committed by
Junio C Hamano

parent
d1eb22da09
commit
cdb73ca56f
@ -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' '
|
||||
|
Reference in New Issue
Block a user