author | David Kastrup <dak@gnu.org> | |
Mon, 17 Sep 2007 20:56:44 +0000 (22:56 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 18 Sep 2007 21:58:24 +0000 (14:58 -0700) | ||
commit | d28840461d9cebd79f1ec30a4117661b41e2c9a3 | |
tree | be2757a03bfdd2c04c34bf32b6968c4761314801 | tree | snapshot |
parent | 76bf8d0e0ad0840395471fd862bd2cdad095345d | commit | diff |
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>
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>
git-commit.sh | diff | blob | history |