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 05:54:44 +0000 (21:54 -0800)
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. It can trigger diff.external command that is
specified in the configuration file of the repository being viewed.

This patch applies to v1.5.4 and later.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found