Skip to content

Improved way of listing URLs in remote #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 18 commits into from

Conversation

guyzmo
Copy link
Contributor

@guyzmo guyzmo commented Oct 11, 2016

instead of using git remote show that can trigger a connection to the
remote repository, use git remote get-url --all that works by only
reading the .git/config.

change should have no functional impact, so no test needed.

Signed-off-by: Guyzmo [email protected]

expobrain and others added 15 commits September 12, 2016 17:19
Now that performance tests are run, it appears we run into one
particular failure on travis, possibly indicating a bug in python 3.3.

Just bluntly increason the amount of handles might silence it... .

Related to gitpython-developers#524
instead of using git remote show that can trigger a connection to the
remote repository, use git remote get-url --all that works by only
reading the .git/config.

change should have no functional impact, so no test needed.

Signed-off-by: Guyzmo <[email protected]>
@guyzmo
Copy link
Contributor Author

guyzmo commented Oct 11, 2016

(I noticed the issue when doing a .urls while on the train without internet connection 😖)

@ankostis
Copy link
Contributor

ankostis commented Oct 11, 2016

@guyzmo LinuxWindows checks fail due #513 BUT Linux checks also fail due to git.test.test_remote:TestRemote.test_multiple_urls () failing due to (I suppose) TravisCI having an older version of git; check my own build where I don't merge with the buggy master branch: https://travis-ci.org/ankostis/GitPython/jobs/166806778

ankostis pushed a commit to ankostis/GitPython that referenced this pull request Oct 11, 2016
+ Instead of using `git remote show` that may triggers connection to
remote repo, use `git remote get-url --all` that works by only
reading the `.git/config`.
+ Change should have no functional impact, so no test needed.
+ Works only with git -2.7+.

Signed-off-by: Guyzmo <[email protected]>
ankostis added a commit to ankostis/GitPython that referenced this pull request Oct 11, 2016
ankostis pushed a commit to ankostis/GitPython that referenced this pull request Oct 12, 2016
@guyzmo
Copy link
Contributor Author

guyzmo commented Oct 13, 2016

looks like it's merged, thanks 👍

@guyzmo guyzmo closed this Oct 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants