Quit git difftool on error code
- From
- Adri Farr <14farresa@gmail.com>
- Date
- Oct 25, 2014, 10:40 UTC
- Message-ID
- <CAPfWmhgS8JXyXz5qp04+faqjdeHsydBz-fui-HeNhF3wYLv71g@mail.gmail.com>
Hello!,
Pardon my ignorance, but I haven't found the solution anywhere. Is there a way to make git difftool quit when it receives an error code? I have vim as my difftool, and if I quit with an error (:cq) when there are pending files to be diffed, git difftool doesn't quit and keeps pushing me files to be diffed until there are no more pending files. What is the best way to get out of it?
Thank you