From: Jeff King Date: Fri, 26 May 2017 19:08:39 +0000 (-0400) Subject: check_filename(): handle ":^" path magic X-Git-Tag: v2.14.0-rc0~89^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/42471bcee44e87669eb17f9fa13c8041a0fc35a1?ds=inline;hp=42471bcee44e87669eb17f9fa13c8041a0fc35a1 check_filename(): handle ":^" path magic We special-case "git log :/foo" to work when "foo" exists in the working tree. But :^ (and its alias :!) do not get the same treatment, requiring the user to supply a disambiguating "--". Let's make them work without requiring the user to type the "--". Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---