aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2009-08-20 11:24:54 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-20 16:59:45 -0700
commite3ae4a8613151c93ffce78c674ac91c1ee34eef6 (patch)
tree222f81a36f906ba46d8f8243c2b544f294e8819c /hash.c
parent64b19ffeddda499e7380b38b43a3dee579734905 (diff)
downloadgit-e3ae4a8613151c93ffce78c674ac91c1ee34eef6.tar.gz
git-e3ae4a8613151c93ffce78c674ac91c1ee34eef6.tar.xz
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 <casey@nrlssc.navy.mil> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions