I'm using git bash for Windows with Beyond & Compare as my difftool (but the same thing occures with any external difftool).
I would like my terminal not to be waiting for the difftool to exit in order to give terminal control back. It would be useful for me to keep the difftool session opened while performing other git tasks in the command line.
Is it possible ?
I don't know if this has anything to do with trustexistcode
but this setting won't change anything to the terminal behavior I'm looking for.
At the time I asked the question I didn't know I could simply exit the handle (which is only waiting for the external tool to emit its exit code), using Ctrl + C.
This is not automatic but it is enough to get going.
EDIT - better solution : as suggested in @1615903's comment, putting an &
after the difftool command seems to be launching the difftool without any handle.