contrib/git-jump: add whitespace-checking mode
commit1af9c6096a7ec6cba3a5f7d359cb1caf2152496a
authorJeff King <peff@peff.net>
Fri, 22 Jul 2016 16:35:19 +0000 (22 12:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Jul 2016 19:33:58 +0000 (22 12:33 -0700)
treebc56594f191ac3857c1e416866c85465f0173694
parent74a7fa44d36c3e93febccdea5f44ff78555463d0
contrib/git-jump: add whitespace-checking mode

If you have whitespace errors in lines you've introduced, it
can be convenient to be able to jump directly to them for
fixing.  You can't quite use "git jump diff" for this,
because though it passes arbitrary options to "git diff", it
expects to see an actual unified diff in the output.

Whereas "git diff --check" actually produces lines that look
like compiler quickfix lines already, meaning we just need
to run it and feed the output directly to the editor.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/git-jump/README
contrib/git-jump/git-jump