diff options
author | Jeff King <peff@peff.net> | 2016-07-22 12:35:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-22 12:33:58 -0700 |
commit | 1af9c6096a7ec6cba3a5f7d359cb1caf2152496a (patch) | |
tree | bc56594f191ac3857c1e416866c85465f0173694 /preload-index.c | |
parent | contrib/git-jump: fix greedy regex when matching hunks (diff) | |
download | tgif-1af9c6096a7ec6cba3a5f7d359cb1caf2152496a.tar.xz |
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>
Diffstat (limited to 'preload-index.c')
0 files changed, 0 insertions, 0 deletions