Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda8aeec

Browse files
author
Sebastian Thiel
committed
Merge branch 'master' ofhttps://github.com/sstancu/GitPython into sstancu-master
2 parentsc73b239 +096027b commitda8aeec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ Contributors are:
3131
-David Host <hostdm _at_ outlook.com>
3232
-A. Jesse Jiryu Davis <jesse _at_ emptysquare.net>
3333
-Steven Whitman <ninloot _at_ gmail.com>
34+
-Stefan Stancu <stefan.stancu _at_ gmail.com>
3435

3536
Portions derived from other open source works and are clearly marked.

‎git/remote.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -544,10 +544,9 @@ def urls(self):
544544
exceptGitCommandErrorasex:
545545
ifany(msginstr(ex)formsgin ['correct access rights','cannot run ssh']):
546546
# If ssh is not setup to access this repository, see issue 694
547-
result=Git().execute(
548-
['git','config','--get','remote.%s.url'%self.name]
549-
)
550-
yieldresult
547+
remote_details=self.repo.git.config('--get-all','remote.%s.url'%self.name)
548+
forlineinremote_details.split('\n'):
549+
yieldline
551550
else:
552551
raiseex
553552
else:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp