diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-29 21:25:19 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-29 21:25:19 -0700 |
commit | bc4af68a1a876a9eb6ff030b88b76a90fd09a9ea (patch) | |
tree | ee5c1ec36e5e92528ad646773056d0654703bfa2 | |
parent | 9fa4db544e2e4d6c931f6adabc5270daec041536 (diff) | |
download | git-bc4af68a1a876a9eb6ff030b88b76a90fd09a9ea.tar.gz git-bc4af68a1a876a9eb6ff030b88b76a90fd09a9ea.tar.xz |
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 <file> -e' to start editor with the initial
log message contents taken from <file>.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-x | git-commit-script | 3 |
1 files changed, 3 insertions, 0 deletions
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 ;; |