From: Junio C Hamano Date: Mon, 22 Jul 2013 18:24:19 +0000 (-0700) Subject: Merge branch 'jc/name-rev-exact-ref' X-Git-Url: https://repo.or.cz/w/git/mingw.git/commitdiff_plain/3daafe9403c65b39f133f3aa4a6dbbcd372e9db1 Merge branch 'jc/name-rev-exact-ref' Corrects the longstanding sloppiness in the implementation of name-rev that conflated "we take commit-ish" and "differences between tags and commits do not matter". * jc/name-rev-exact-ref: describe: fix --contains when a tag is given as input name-rev: differentiate between tags and commits they point at describe: use argv-array name-rev: allow converting the exact object name at the tip of a ref name-ref: factor out name shortening logic from name_ref() --- 3daafe9403c65b39f133f3aa4a6dbbcd372e9db1