difftool: initialize variables for readability
commit951b551d0f349f145f8606b946d64fc452ad6a51
authorDavid Aguilar <davvid@gmail.com>
Mon, 16 May 2016 18:05:36 +0000 (16 11:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 May 2016 21:53:03 +0000 (16 14:53 -0700)
tree5468f637c2254d4e33b961f4eb115f93dad13993
parentd92347f59fefb95a2d9240c007a44f408c216fa7
difftool: initialize variables for readability

The code always goes into one of the two conditional blocks but make it
clear that not doing so is an error condition by setting $ok to 0.

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