public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. a17d3d8d08ea2ef78b9ee9f7ef80b127a8c078dc
@ 2020-01-16 15:08 jakub
  0 siblings, 0 replies; only message in thread
From: jakub @ 2020-01-16 15:08 UTC (permalink / raw)
  To: gcc-cvs-wwwdocs

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  a17d3d8d08ea2ef78b9ee9f7ef80b127a8c078dc (commit)
      from  7209696136bc42b939efd5daabde1d123e1d5cf9 (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 a17d3d8d08ea2ef78b9ee9f7ef80b127a8c078dc
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Jan 16 16:08:13 2020 +0100

    Adjust for newer git.

diff --git a/cgi-bin/gcc-gitref.cgi b/cgi-bin/gcc-gitref.cgi
index 66ac2996..17b5f3fa 100755
--- a/cgi-bin/gcc-gitref.cgi
+++ b/cgi-bin/gcc-gitref.cgi
@@ -12,7 +12,7 @@ if [ -n "$rel" ]; then
   fi
   if [ -n "$sha" ]; then
     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'`
+	 | sed -n 's,^\(tags/\)\?basepoints/gcc-[0-9]\+-\([0-9]\+\)-g[0-9a-f]*$,\2,p;s,^\(tags/\)\?basepoints/gcc-[0-9]\+$,0,p'`
     if [ -n "$num" ]; then
       num=`expr $num - $cnt`
       ret=`$GIT --git-dir=$repo rev-parse --verify $sha~$num`

-----------------------------------------------------------------------

Summary of changes:
 cgi-bin/gcc-gitref.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
gcc-wwwdocs


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-16 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 15:08 gcc-wwwdocs branch master updated. a17d3d8d08ea2ef78b9ee9f7ef80b127a8c078dc jakub

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).