From: Jeff King Date: Wed, 29 Oct 2008 05:17:55 +0000 (+0000) Subject: send-pack: do not send out single-level refs such as refs/stash X-Git-Tag: v1.6.0.4~18 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/30affa1e9a15e848f77c9c14544dd6dd593559d5?ds=sidebyside;hp=30affa1e9a15e848f77c9c14544dd6dd593559d5 send-pack: do not send out single-level refs such as refs/stash Since no version of receive-pack accepts these "funny refs", we should mirror the check when considering the list of refs to send. IOW, don't even make them eligible for matching or mirroring. Signed-off-by: Junio C Hamano ---