diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-04 15:35:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-19 16:12:45 -0700 |
commit | 5c08c1f23ad512fbcd06f4ee9bcf8818e17a2627 (patch) | |
tree | 2cce79d0dd82edab6e29dfe44da0fb2ad8cff921 /t/t9159-git-svn-no-parent-mergeinfo.sh | |
parent | Git 1.7.8.6 (diff) | |
download | tgif-5c08c1f23ad512fbcd06f4ee9bcf8818e17a2627.tar.xz |
get_fetch_map(): tighten checks on dest refs
The code to check the refname we store the fetched result locally did not
bother checking the first 5 bytes of it, presumably assuming that it
always begin with "refs/". For a fetch refspec (or the result of applying
wildcard on one), we always want the RHS to map to something inside
"refs/" hierarchy, so let's spell that rule out in a more explicit way.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9159-git-svn-no-parent-mergeinfo.sh')
0 files changed, 0 insertions, 0 deletions