diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2012-09-09 08:19:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-12 11:46:32 -0700 |
commit | 5f0fc64513c8cb638e0d6010005d8e86c9dbca3a (patch) | |
tree | 9af38ff8d62999de23aab18eb9b08446294a0e95 /t/t1004-read-tree-m-u-wf.sh | |
parent | cmd_fetch_pack(): simplify computation of return value (diff) | |
download | tgif-5f0fc64513c8cb638e0d6010005d8e86c9dbca3a.tar.xz |
fetch-pack: eliminate spurious error messages
It used to be that if "--all", "--depth", and also explicit references
were sought, then the explicit references were not handled correctly
in filter_refs() because the "--all --depth" code took precedence over
the explicit reference handling, and the explicit references were
never noted as having been found. So check for explicitly sought
references before proceeding to the "--all --depth" logic.
This fixes two test cases in t5500.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1004-read-tree-m-u-wf.sh')
0 files changed, 0 insertions, 0 deletions