summaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorLibravatar Johan Herland <johan@herland.net>2009-08-20 11:24:54 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-20 16:59:45 -0700
commite3ae4a8613151c93ffce78c674ac91c1ee34eef6 (patch)
tree222f81a36f906ba46d8f8243c2b544f294e8819c /builtin-add.c
parentgit submodule status: Add --recursive to recurse into nested submodules (diff)
downloadtgif-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 'builtin-add.c')
0 files changed, 0 insertions, 0 deletions