From: Junio C Hamano Date: Wed, 17 Dec 2008 03:42:02 +0000 (-0800) Subject: gitweb: do not run "git diff" that is Porcelain X-Git-Tag: v1.5.4.7~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/dfff4b7aa42de7e7d58caeebe2c6128449f09b76?ds=inline;hp=dfff4b7aa42de7e7d58caeebe2c6128449f09b76 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. 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 ---