summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar David Kastrup <dak@gnu.org>2007-09-17 22:56:44 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-09-18 14:58:24 -0700
commitd28840461d9cebd79f1ec30a4117661b41e2c9a3 (patch)
treebe2757a03bfdd2c04c34bf32b6968c4761314801 /commit.c
parentpreserve executable bits in zip archives (diff)
downloadtgif-d28840461d9cebd79f1ec30a4117661b41e2c9a3.tar.xz
git-commit.sh: Shell script cleanup
This moves "shift" out of the argument processing "case". It also replaces quite a bit of expr calls with ${parameter#word} constructs, and uses ${parameter:+word} for avoiding conditionals where possible. Signed-off-by: David Kastrup <dak@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions