diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2019-06-03 21:13:30 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-04 11:28:58 -0700 |
commit | f80d922355302abf07bf0cf9a2135c2eaa61f502 (patch) | |
tree | beccc837fc263e2e3ee50d80f606a2c57c374e76 /worktree.h | |
parent | fetch: make the code more understandable (diff) | |
download | tgif-f80d922355302abf07bf0cf9a2135c2eaa61f502.tar.xz |
fetch: fix regression with transport helpers
Commit e198b3a740 changed the behavior of fetch with regards to tags.
Before, null oids where not ignored, now they are, regardless of whether
the refs have been explicitly cleared or not.
e198b3a740 (fetch: replace string-list used as a look-up table with a hashmap)
When using a transport helper the oids can certainly be null. So now
tags are ignored and fetching them is impossible.
This patch fixes that by having a specific flag that is set only when we
explicitly want to ignore the refs, restoring the original behavior.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'worktree.h')
0 files changed, 0 insertions, 0 deletions