From bc4af68a1a876a9eb6ff030b88b76a90fd09a9ea Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 29 Aug 2005 21:25:19 -0700 Subject: [PATCH] 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 --- git-commit-script | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-commit-script b/git-commit-script index 4987e378..cd28dde6 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 ;; -- 2.11.0