How do you cancel an external git diff?

Posted by v2k on Stack Overflow See other posts from Stack Overflow or by v2k
Published on 2010-05-07T06:25:23Z Indexed on 2010/05/07 6:28 UTC
Read the original article Hit count: 367

Filed under:
|
|
|

I've got vim setup as my external diff tool:

[diff] external = git_diff_wrapper

!/bin/sh

vimdiff "$2" "$5"

Say I have 300 files that have been modified; via bash, I type "git diff". It launches 300 vimdiffs sequentially, how do I abort it?

© Stack Overflow or respective owner

Related posts about git

Related posts about vim