gitweb: do not run "git diff" that is Porcelain
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2008 03:42:02 +0000 (19:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2008 07:31:58 +0000 (23:31 -0800)
commitb54dc9fdb993a54bba11df3f247e836158b8c1f0
treeff7e4c318ddb443e9968f436bad92b5311daf000
parent98171a07ae74e796a6c78e7c446ac9a5aaf28c07
gitweb: do not run "git diff" that is Porcelain

Jakub says that legacy-style URI to view two blob differences are never
generated since 1.4.3.  This codepath runs "git diff" Porcelain from the
gitweb, which is a no-no.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl