From: Junio C Hamano Date: Mon, 12 Oct 2009 23:39:43 +0000 (-0700) Subject: git check-ref-format --print X-Git-Tag: v1.6.6-rc0~79^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/38eedc634bc5d30e8a7a2356d9eb3ae95d9b1d75?hp=38eedc634bc5d30e8a7a2356d9eb3ae95d9b1d75 git check-ref-format --print Tolerating empty path components in ref names means each ref does not have a unique name. This creates difficulty for porcelains that want to see if two branches are equal. Add a helper associating to each ref a canonical name. If a user asks a porcelain to create a ref "refs/heads//master", the porcelain can run "git check-ref-format --print refs/heads//master" and only deal with "refs/heads/master" from then on. Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---