From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Nieder Subject: [PATCH 4/4] instaweb: disable logo and favicon by default Date: Thu, 2 Sep 2010 18:57:22 -0500 Message-ID: <20100902235722.GE6466@burratino> References: <20100812131152.2333.9604.reportbug@octopus.hi.pengutronix.de> <20100902221211.GA4789@burratino> <20100902223624.GA9613@dcvr.yhbt.net> <20100902235237.GA6466@burratino> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , git@vger.kernel.org, Jakub Narebski , Pavan Kumar Sunkara To: Eric Wong X-From: git-owner@vger.kernel.org Fri Sep 03 01:59:22 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrJgf-0000XA-E6 for gcvg-git-2@lo.gmane.org; Fri, 03 Sep 2010 01:59:21 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755689Ab0IBX7R convert rfc822-to-quoted-printable (ORCPT ); Thu, 2 Sep 2010 19:59:17 -0400 Received: from mail-qw0-f46.google.com ([209.85.216.46]:54829 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753862Ab0IBX7Q convert rfc822-to-8bit (ORCPT ); Thu, 2 Sep 2010 19:59:16 -0400 Received: by qwh6 with SMTP id 6so1109674qwh.19 for ; Thu, 02 Sep 2010 16:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=3TqGMzzzVz+yAzK26Z7OwTPtPrfLoBOCIC0H1E7TqBo=; b=PlwzRadSW/8sc6JmZ4rSiTOdg93ZKNnEOy8HwTNDEoab50FxigmNjObwUVhUIb25TK boZFxMaMogEue9oRn+ZEKapP2tGU0xGiLGCQqQnzSu/Byc1k8cnMzDNa4kR5+eSp8G/R uWPfQOSxXfOBIm8PRGmZDf/2Sx8df8JJ8dJlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=p7rfl4iM6oEpu/HBx/zITZylISDV7y3TFgK6AoaoWVrjibmT5bQpgseoC1WSH9v/Gm bSJ/jS9X6nEsSjwK7dqNizOOcUWN39wLASZ8GyQoKK6NNjkxoSozPnl8LaI/1COh4MgI OtvOiM5JycV9H9bKyMoyvzMtR2XA4SY7WUcgs= Received: by 10.229.250.203 with SMTP id mp11mr7162520qcb.173.1283471955731; Thu, 02 Sep 2010 16:59:15 -0700 (PDT) Received: from burratino (dhcp-11-17.cs.uchicago.edu [128.135.11.176]) by mx.google.com with ESMTPS id r36sm1114697qcs.27.2010.09.02.16.59.14 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 16:59:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20100902235237.GA6466@burratino> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Avoid 404 errors due to the missing git logo and favicon. Reported-by: Uwe Kleine-K=C3=B6nig Cc: Eric Wong Cc: Jakub Narebski Signed-off-by: Jonathan Nieder --- Thanks for reading. git-instaweb.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/git-instaweb.sh b/git-instaweb.sh index 6279f4d..1128b31 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -376,7 +376,9 @@ s#^(my|our) \$projectroot =3D.*#$1 \$projectroot =3D= "'$(dirname "$fqgitdir")'";#; s#(my|our) \$gitbin =3D.*#$1 \$gitbin =3D "'$GIT_EXEC_PATH'";#; s#(my|our) \$projects_list =3D.*#$1 \$projects_list =3D \$projectroot;= #; s#(my|our) \$git_temp =3D.*#$1 \$git_temp =3D "'$fqgitdir/gitweb/tmp'"= ;#; -s#(my|our) \$GITWEB_CONFIG_SYSTEM =3D.*#$1 \$GITWEB_CONFIG_SYSTEM =3D = "";#;' +s#(my|our) \$GITWEB_CONFIG_SYSTEM =3D.*#$1 \$GITWEB_CONFIG_SYSTEM =3D = "";#; +s#(my|our) \$favicon =3D.*#$1 \$favicon =3D undef;#;' +s#(my|our) \$logo =3D.*#$1 \$logo =3D undef;#;' =20 gitweb_cgi () { cat > "$1.tmp" <<\EOFGITWEB --=20 1.7.2.2