Code

difftool: use perl built-ins when testing for msys
authorDavid Aguilar <davvid@gmail.com>
Mon, 6 Apr 2009 08:31:21 +0000 (01:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Apr 2009 05:19:55 +0000 (22:19 -0700)
commit46ae156d6c8c48d521e4d858ed84d93259cfc61f
tree86a0baeb8f3a8b6369371cbe58fda7f30ef828d7
parent2e8af7e42b15d4f2d573329ea2593a19f45f18d3
difftool: use perl built-ins when testing for msys

I don't even know what $COMSPEC means so let's be safe and use the
same perly $^O test add--interactive uses.  While we're at it, make
git-difftool match the prevalent git-perl style.

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