From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51250 invoked by alias); 13 Jan 2020 15:30:52 -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 51203 invoked by uid 9071); 13 Jan 2020 15:30:52 -0000 Date: Mon, 13 Jan 2020 15:30:00 -0000 Message-ID: <20200113153052.51199.qmail@sourceware.org> From: jakub@gcc.gnu.org To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 8dca4d26d4dc4565a62b7ff2460d2a2a7a879a14 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 55c0af5d41358903a7388e8c8754110af189e716 X-Git-Newrev: 8dca4d26d4dc4565a62b7ff2460d2a2a7a879a14 X-SW-Source: 2020/txt/msg00018.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 8dca4d26d4dc4565a62b7ff2460d2a2a7a879a14 (commit) from 55c0af5d41358903a7388e8c8754110af189e716 (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 8dca4d26d4dc4565a62b7ff2460d2a2a7a879a14 Author: Jakub Jelinek Date: Mon Jan 13 16:30:28 2020 +0100 Use /usr/local/bin/git diff --git a/cgi-bin/gcc-gitref.cgi b/cgi-bin/gcc-gitref.cgi index 38cb7afb..66ac2996 100755 --- a/cgi-bin/gcc-gitref.cgi +++ b/cgi-bin/gcc-gitref.cgi @@ -2,23 +2,20 @@ 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 +GIT=${GIT:-/usr/local/bin/git} ret= if [ -n "$rel" ]; then - if [ -f /opt/rh/git19/enable ]; then - . /opt/rh/git19/enable - fi - - sha=`git --git-dir=$repo rev-parse --verify --quiet releases/gcc-$rel` + sha=`$GIT --git-dir=$repo rev-parse --verify --quiet releases/gcc-$rel` if [ -z "$sha" ]; then - sha=`git --git-dir=$repo rev-parse --verify --quiet master` + sha=`$GIT --git-dir=$repo rev-parse --verify --quiet master` fi if [ -n "$sha" ]; then - num=`git --git-dir=$repo describe --all --match basepoints/gcc-$rel $sha 2>/dev/null \ + num=`$GIT --git-dir=$repo describe --all --match basepoints/gcc-$rel $sha 2>/dev/null \ | sed -n 's,^basepoints/gcc-[0-9]\+-\([0-9]\+\)-g[0-9a-f]*$,\1,p;s,^basepoints/gcc-[0-9]\+$,0,p'` if [ -n "$num" ]; then num=`expr $num - $cnt` - ret=`git --git-dir=$repo rev-parse --verify $sha~$num` + ret=`$GIT --git-dir=$repo rev-parse --verify $sha~$num` fi fi fi ----------------------------------------------------------------------- Summary of changes: cgi-bin/gcc-gitref.cgi | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) hooks/post-receive -- gcc-wwwdocs