From: Junio C Hamano Date: Tue, 30 Aug 2005 04:25:19 +0000 (-0700) Subject: git commit: Allow editing on all occasions. X-Git-Tag: v0.99.6~50 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc4af68a1a876a9eb6ff030b88b76a90fd09a9ea;p=git.git git commit: Allow editing on all occasions. Sometimes it may be handy to be able to edit messages that come from somewhere other than an existing commit. This makes 'git commit -F -e' to start editor with the initial log message contents taken from . Signed-off-by: Junio C Hamano --- diff --git a/git-commit-script b/git-commit-script index 4987e3786..cd28dde64 100755 --- a/git-commit-script +++ b/git-commit-script @@ -64,6 +64,9 @@ do use_commit="$1" no_edit=t shift ;; + -e|--e|--ed|--edi|--edit) + no_edit= + shift ;; -s|--s|--si|--sig|--sign|--signo|--signof|--signoff) signoff=t shift ;;