From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128401 invoked by alias); 13 Jan 2020 15:20:40 -0000 Mailing-List: contact gcc-cvs-wwwdocs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-cvs-wwwdocs-owner@gcc.gnu.org Received: (qmail 128352 invoked by uid 9071); 13 Jan 2020 15:20:40 -0000 Date: Mon, 13 Jan 2020 15:20:00 -0000 Message-ID: <20200113152040.128348.qmail@sourceware.org> From: jakub@gcc.gnu.org To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 55c0af5d41358903a7388e8c8754110af189e716 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: b67331e8d2eb99861e9042a6c75be3eea398fa81 X-Git-Newrev: 55c0af5d41358903a7388e8c8754110af189e716 X-SW-Source: 2020/txt/msg00017.txt This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 55c0af5d41358903a7388e8c8754110af189e716 (commit) from b67331e8d2eb99861e9042a6c75be3eea398fa81 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 55c0af5d41358903a7388e8c8754110af189e716 Author: Jakub Jelinek Date: Mon Jan 13 16:20:24 2020 +0100 Fix up the gcc-gitref script. diff --git a/cgi-bin/gcc-gitref.cgi b/cgi-bin/gcc-gitref.cgi index 156cadb6..38cb7afb 100755 --- a/cgi-bin/gcc-gitref.cgi +++ b/cgi-bin/gcc-gitref.cgi @@ -1,6 +1,6 @@ #!/bin/sh -rel=`echo "$@" | sed -n 's/^r=r\([0-9]\+\)-[0-9]\+$/\1/p'` -cnt=`echo "$@" | sed -n 's/^r=r[0-9]\+-\([0-9]\+\)$/\1/p'` +rel=`echo "$QUERY_STRING" | sed -n 's/^r=r\([0-9]\+\)-[0-9]\+$/\1/p'` +cnt=`echo "$QUERY_STRING" | sed -n 's/^r=r[0-9]\+-\([0-9]\+\)$/\1/p'` repo=/sourceware/git/gcc.git ret= @@ -26,7 +26,7 @@ if expr match "$ret" "[0-9a-f]\{7,40\}" > /dev/null; then echo 'Content-type: text/html' echo echo '' - echo '' + echo '' echo '' else echo 'Status: 400 Bad Request' ----------------------------------------------------------------------- Summary of changes: cgi-bin/gcc-gitref.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- gcc-wwwdocs