I am trying to use a custom diff tool for git diff. The following command does the job:
git difftool --tool nbdime "file.ipynb"
This starts up a diff viewer on the web, with the following arguments:
{'difftool_args' : {'base': '/tmp/ZpUu2a_1 - file.ipynb',
'remote': 'file.ipynb'},
'port': 0,
'cwd': '/home/user/Projects/prj2'}
However, I need to specify the port for my difftool nbdime
I tried the following (+ other permutations):
git difftool --tool nbdime --port 5555 "file.ipynb"
but none get accepted as an argument to the difftool; so how would one provide an argument to the difftool?