Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

fix submodule has port #136

Merged
merged 1 commit into from
Jan 23, 2019
Merged

fix submodule has port #136

merged 1 commit into from
Jan 23, 2019

Conversation

lunny
Copy link
Member

@lunny lunny commented Dec 9, 2018

should fix go-gitea/gitea#2775 and replace #108

@lunny lunny added the kind/bug label Dec 9, 2018
@codecov-io
Copy link

codecov-io commented Dec 9, 2018

Codecov Report

Merging #136 into master will increase coverage by 1.06%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   33.01%   34.07%   +1.06%     
==========================================
  Files          28       28              
  Lines        1784     1790       +6     
==========================================
+ Hits          589      610      +21     
+ Misses       1118     1100      -18     
- Partials       77       80       +3
Impacted Files Coverage Δ
submodule.go 46.66% <66.66%> (+46.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 389d3c8...2627294. Read the comment docs.

}{
{"git://github.com/user1/repo1", "/", "/", "https://github.com/user1/repo1"},
{"https://localhost/user1/repo1.git", "/", "/", "https://localhost/user1/repo1"},
{"[email protected]/user1/repo1.git", "/", "/", "[email protected]/user1/repo1"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we prefix it with http if it doesn't contain a scheme ? and drop the user ?
I am not blocking on this as it improve the existing func.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean [email protected]/user1/repo1.git => https://github.com/user1/repo1.git ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@lafriks lafriks merged commit 49292ad into go-gitea:master Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect link for submodules that specify the remote port
6 participants