Issue #711 shows that running git meta commit -ia --amend --no-edit causes an unhandled error. In vanilla git, the -i (interactive) and -a (all) options are not allowed together in the first place:
▶ git commit -ia
fatal: Only one of --include/--only/--all/--interactive/--patch can be used.
This PR adds a check to the commit command's argument parsing to prevent -i and -a from being used together:
▶ gm commit -ia
The use of '-i' and '-a' does not make sense.
Issue #711 shows that running
git meta commit -ia --amend --no-edit
causes an unhandled error. In vanilla git, the-i
(interactive) and-a
(all) options are not allowed together in the first place:This PR adds a check to the
commit
command's argument parsing to prevent-i
and-a
from being used together: