difftool: Check all return codes from compare()
commit283abb2c8abb3f40d8d0170ba45c2e45d40f8cdb
authorDavid Aguilar <davvid@gmail.com>
Wed, 25 Jul 2012 03:14:23 +0000 (24 20:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jul 2012 16:41:54 +0000 (25 09:41 -0700)
tree1403de59b477a9fe7ad6da7cf345b7988ade2ae3
parent7c7584b97096a168fe1236c84e5e12d7bee24476
difftool: Check all return codes from compare()

Handle the case where compare() is unable to read its inputs.
Emit a warning so that the user knows that something went wrong.

We may later want to restructure the code so that we can inhibit
tempdir cleanup when this condition is reached.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-difftool.perl