What should mergetool do with --no-prompt?
- From
David Aguilar <davvid@gmail.com>
- Date
- Aug 14, 2012, 07:07 UTC
- Message-ID
- <CAJDDKr5TK910n603jcmoq6WoaLL9DX9hgwF3Y+MmjngMpAXPQw@mail.gmail.com>
Right now there are two code paths, resolving deletion conflicts and resolving symlink conflicts, in git-mergetool that do not honor --no-prompt. They force user-interaction with the shell even though the caller (such as a program) said that they do not want to be prompted.
This was an oversight from when this option was first added.
I think a simple and sensible thing to do would be for mergetool to skip over these entries when --no-prompt is supplied.
Does this sound like a good idea?
-- David