Git diffftool - how to skip a specific file?

when I do git difftool , I get the message Hit return to launch 'araxis': I found out that I can finish all this by pressing CTRL-C , but how to skip one file?

Is it possible?


Edit: with git 1.7.7.1 (and msysgit 1.7.7.1.msysgit.0), this is possible. For each file I ask

 Launch 'araxis' [Y/n]: 

It looks like the peterjmag mentioned in his answer was accepted by the git guys and made it the way to the master branch!

+4
source share
1 answer

As stated in the comments above:

Until it skips files as such, the git-diffall script (generated by this SO answer ) opens each file in windows / tabs in your diff tool, and then you can ignore specific files from there. Nevertheless, I agree that the invitation should have the option to skip a specific file, i.e. "The hit returns to running" araxis "or" type "to skip this file:"

EDIT . Since this functionality is also useful to me, I forked git.git on github and added it myself. Check this (very simple) lock to prove the concept. I will also post the patch to the git mailing list, in the hope that someone will suggest a better approach - preferably someone who works better on the shell script than I do :-)

I am also open to feedback through the built-in GitHub notes system!

OTHER IMAGE . It looks like this functionality is now in the git core as of v1.7.7.1 or so (October 2011). Here's the corresponding commit on GitHub .

+4
source

All Articles