difftool: silence warning
commited36e5bd41f7192e42e9b4c573875a343a9daf48
authorRoss Lagerwall <rosslagerwall@gmail.com>
Tue, 21 Aug 2012 10:21:40 +0000 (21 12:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Aug 2012 22:27:15 +0000 (21 15:27 -0700)
treeb2f2acd049dd5e43d1a5754ba41de65196eb9953
parent755e8b3f35e3991a735a6be740eda4567d45a741
difftool: silence warning

Silence a warning given when running git difftool --dir-diff and
there are no changes.

This is because command_oneline returns undef when the command has no
output, not ''.

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