hadi-guang / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

Repo automatically appends .git to all repo look ups #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Affected Version: 1.6.10.2
Environment: Linux (

What steps will reproduce the problem?
1. Add a repo called remotehost:/foo/bar
2. Sync that repo

What is the expected output? What do you see instead?
Repo fails with ".../foo/bar.git" not found.

Please provide any additional information below.
Git itself does not require the remote repos to have .git extensions.  Running:
git clone remotehost:/foo/bar  will work if the remote host has either a 
/foo/bar or /foo/bar.git path.
Repo should follow the same semantics and not automatically append .git to 
every repo name.

Original issue reported on code.google.com by kliegs@chromium.org on 27 Aug 2010 at 3:43

GoogleCodeExporter commented 8 years ago
repo 1.7.7.5 no longer forcibly appends .git, although in the process it breaks 
most http:// setups I've seen that have an explicit \.git anchoring for 
enabling git-http-backend...

Original comment by ferri...@google.com on 20 Dec 2011 at 2:45

GoogleCodeExporter commented 8 years ago
Conley dropped the ".git" suffix in repo 1.7.7.5 (commit ceea368e88 Correctly 
name projects when mirroring). I'm inclined to say this is the correct 
behavior, we should not have been appending ".git" suffix in repo.

Original comment by sop@google.com on 20 Dec 2011 at 4:57

GoogleCodeExporter commented 8 years ago
can I see where is  the change? the commit patch?

Original comment by atias.a...@gmail.com on 14 Feb 2013 at 12:40

GoogleCodeExporter commented 8 years ago
https://gerrit.googlesource.com/git-repo/+/ceea368e88%5E%21/#F0

Original comment by cco3@android.com on 15 Feb 2013 at 1:16