From: Junio C Hamano Date: Fri, 17 Aug 2018 20:09:55 +0000 (-0700) Subject: Merge branch 'jt/refspec-dwim-precedence-fix' X-Git-Tag: v2.19.0-rc0~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72c11b7e62c02d18a51f0bbaa2154ecebf8c74f0;p=git Merge branch 'jt/refspec-dwim-precedence-fix' "git fetch $there refs/heads/s" ought to fetch the tip of the branch 's', but when "refs/heads/refs/heads/s", i.e. a branch whose name is "refs/heads/s" exists at the same time, fetched that one instead by mistake. This has been corrected to honor the usual disambiguation rules for abbreviated refnames. * jt/refspec-dwim-precedence-fix: remote: make refspec follow the same disambiguation rule as local refs --- 72c11b7e62c02d18a51f0bbaa2154ecebf8c74f0