mirror of
https://github.com/git/git.git
synced 2026-04-12 01:40:10 +02:00
t5801 (remote-helpers): add test to fetch tags
This used to work, but commite198b3a740broke it.e198b3a740(fetch: replace string-list used as a look-up table with a hashmap) Probably all remote helpers that use the import method are affected, but we didn't catch the issue. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
6e17fb3409
commit
8144f09ccd
@@ -301,4 +301,14 @@ test_expect_success 'fetch url' '
|
||||
compare_refs server HEAD local FETCH_HEAD
|
||||
'
|
||||
|
||||
test_expect_failure 'fetch tag' '
|
||||
(cd server &&
|
||||
git tag v1.0
|
||||
) &&
|
||||
(cd local &&
|
||||
git fetch
|
||||
) &&
|
||||
compare_refs local v1.0 server v1.0
|
||||
'
|
||||
|
||||
test_done
|
||||
|
||||
Reference in New Issue
Block a user