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  31fd7355daa1ea80c0e56514950e450d1c5ffd67 (commit)
      from  fd8dacf0e9644d60a511194ed6247dca35d47cd6 (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 31fd7355daa1ea80c0e56514950e450d1c5ffd67
Author: Mark Wielaard <m...@klomp.org>
Date:   Sun Mar 30 15:51:39 2025 +0200

    gcc-gitref.cgi: Redirect to cgit instead of gitweb
    
    cgit is more efficient compared to gitweb and has nicer URLs.  Other
    redirects like gcc.gnu.org/g:xxxxx and bugzilla now also redirect to
    cgit.

diff --git a/cgi-bin/gcc-gitref.cgi b/cgi-bin/gcc-gitref.cgi
index 17b5f3fa..edcf288f 100755
--- a/cgi-bin/gcc-gitref.cgi
+++ b/cgi-bin/gcc-gitref.cgi
@@ -23,7 +23,7 @@ if expr match "$ret" "[0-9a-f]\{7,40\}" > /dev/null; then
   echo 'Content-type: text/html'
   echo
   echo '<html>'
-  echo '<meta http-equiv="Refresh" content="0; 
url=https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h='$ret'">'
+  echo '<meta http-equiv="Refresh" content="0; 
url=https://gcc.gnu.org/cgit/gcc/commit/?id='$ret'">'
   echo '</html>'
 else
   echo 'Status: 400 Bad Request'

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

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


hooks/post-receive
-- 
gcc-wwwdocs

Reply via email to