From: Johan Herland Date: Thu, 20 Aug 2009 09:24:54 +0000 (+0200) Subject: t7407: Use 'rev-parse --short' rather than bash's substring expansion notation X-Git-Tag: v1.6.5-rc0~32^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e3ae4a8613151c93ffce78c674ac91c1ee34eef6?ds=sidebyside;hp=e3ae4a8613151c93ffce78c674ac91c1ee34eef6 t7407: Use 'rev-parse --short' rather than bash's substring expansion notation The substring expansion notation is a bashism that we have not so far adopted. Use 'git rev-parse --short' instead, as this also handles the case where the unique abbreviation is longer than 7 characters. Also fix the typo; the object name for submodule #2 was copied from submodule #1's by mistake. Suggested-by: Brandon Casey Signed-off-by: Johan Herland Signed-off-by: Junio C Hamano ---