From: Junio C Hamano Date: Mon, 22 Jul 2013 18:24:19 +0000 (-0700) Subject: Merge branch 'jc/name-rev-exact-ref' X-Git-Tag: v1.8.4-rc0~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3daafe9403c65b39f133f3aa4a6dbbcd372e9db1;p=thirdparty%2Fgit.git 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