diff options
author | Johan Herland <johan@herland.net> | 2009-08-20 11:24:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-20 16:59:45 -0700 |
commit | e3ae4a8613151c93ffce78c674ac91c1ee34eef6 (patch) | |
tree | 222f81a36f906ba46d8f8243c2b544f294e8819c /t/t9700 | |
parent | git submodule status: Add --recursive to recurse into nested submodules (diff) | |
download | tgif-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 't/t9700')
0 files changed, 0 insertions, 0 deletions