From: Jeff King Date: Fri, 23 Jun 2006 13:43:38 +0000 (-0400) Subject: git-commit: allow -e option anywhere on command line X-Git-Tag: v1.4.1-rc2~21^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cda8ab59bbdb24b4ef87083781dac1f4f1b973a1?ds=inline;hp=cda8ab59bbdb24b4ef87083781dac1f4f1b973a1 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 Signed-off-by: Junio C Hamano ---