git-difftool: allow skipping file by typing 'n' at prompt
commitba959de165c6fc0d08d851894a98778e739aafc9
authorSitaram Chamarty <sitaramc@gmail.com>
Sat, 8 Oct 2011 13:10:15 +0000 (8 18:40 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Oct 2011 17:21:11 +0000 (10 10:21 -0700)
treeb501a089b142dcac7fad77afe7e21903c3e11407
parent703f05ad5835cff92b12c29aecf8d724c8c847e2
git-difftool: allow skipping file by typing 'n' at prompt

This is useful if you forgot to restrict the diff to the paths you want
to see, or selecting precisely the ones you want is too much typing.

[jc: with a change to return from the function upon 'n' by Charles Bailey
and a small tweak in stdin_doesnot_contain() in the test]

Signed-off-by: Sitaram Chamarty <sitaram@atc.tcs.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-difftool--helper.sh
t/t7800-difftool.sh