author | Jeff King <peff@peff.net> | |
Fri, 23 Jun 2006 13:43:38 +0000 (09:43 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Jun 2006 23:55:51 +0000 (16:55 -0700) | ||
commit | cda8ab59bbdb24b4ef87083781dac1f4f1b973a1 | |
tree | e824785f5b7ace7d2ae1d69819be2a6678922d14 | tree | snapshot |
parent | 8d3cbd27d46bdf42d632de0a2e7f048855941128 | commit | diff |
git-commit: allow -e option anywhere on command line
Previously, the command 'git-commit -e -m foo' would ignore the '-e' option
because the '-m' option overwrites the no_edit flag during sequential
option parsing. Now we cause -e to reset the no_edit flag after all
options are parsed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Previously, the command 'git-commit -e -m foo' would ignore the '-e' option
because the '-m' option overwrites the no_edit flag during sequential
option parsing. Now we cause -e to reset the no_edit flag after all
options are parsed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh | diff | blob | history |