savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] minor fix to published git https URL


From: Assaf Gordon
Subject: [Savannah-hackers-public] minor fix to published git https URL
Date: Sat, 4 Mar 2017 20:16:34 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

Following this:
 "anonymous git checkout not working"
 http://savannah.gnu.org/support/?109274

I've updated the included PHP/TXT 'content' file on fronend to show the correct URL:

===
diff --git a/savane/content/gnu-content/git/index.txt 
b/savane/content/gnu-content/git/index.txt
index 896ef3a..81079f5 100644
--- a/savane/content/gnu-content/git/index.txt
+++ b/savane/content/gnu-content/git/index.txt
@@ -22 +22 @@ echo 'git clone https://git.' . $project->getTypeBaseHost()
-  . preg_replace(':/srv/git:', '', $project->getTypeDir('git')). "\n";
+  . preg_replace(':/srv/git:', '/git', $project->getTypeDir('git')). "\n";
@@ -35 +35 @@ for ($i = 0; $i < $n; $i++)
-         .  $project->getTypeBaseHost() . "/" . $url[$i] . "\n";
+         .  $project->getTypeBaseHost() . "/git/" . $url[$i] . "\n";
===



regards,
- assaf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]