[aur-dev] [PATCH] FS#45834 - Remove trailing slash from git https://link.git/

Stefan Auditor stefan.auditor at erdfisch.de
Fri Aug 14 07:58:02 UTC 2015



On 14.08.2015 06:53, Lukas Fleischer wrote:
> On Wed, 12 Aug 2015 at 13:20:37, Stefan Auditor wrote:
>> Signed-off-by: Stefan Auditor <stefan.auditor at erdfisch.de>
>> ---
>>  conf/config.proto | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/conf/config.proto b/conf/config.proto
>> index 2fbc27a..b2198e5 100644
>> --- a/conf/config.proto
>> +++ b/conf/config.proto
>> @@ -18,8 +18,8 @@ persistent_cookie_timeout = 2592000
>>  max_filesize_uncompressed = 8388608
>>  disable_http_login = 1
>>  aur_location = https://aur.archlinux.org
>> -git_clone_uri_anon = https://aur.archlinux.org/%s.git/
>> -git_clone_uri_priv = ssh+git://aur@aur.archlinux.org/%s.git/
>> +git_clone_uri_anon = https://aur.archlinux.org/%s.git
>> +git_clone_uri_priv = ssh+git://aur@aur.archlinux.org/%s.git
>> [...]
> As I already mentioned in the bug report, this is a regression in Git
> that will be fixed in the next Git maintenance release...
>
As I already asked in the bug report:
> Any reason not to remove the trailing slash?
> In my eyes it looks odd to have one after a file extension.
All git hosting services I'm aware of do it that way.
The most famos examples being

Github
https://github.com/owner/repository.git
git at github.com:owner/repository.git

Gitlab
https://example.org/group/repository.git
git at example.org:group/repository.git

regards,
Stefan

-- 
erdfisch
Stefan Auditor, Frank Holldorff & Fabian Lorenzen GbR

Internet: http://erdfisch.de
E-Mail : stefan.auditor at erdfisch.de
Telefon : +49 6221 751 560 0
Fax : +49 6221 751 560 99
Hans-Bunte-Str. 6
69123 Heidelberg


More information about the aur-dev mailing list