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

Commit 7a91cf1

Browse files
authored
Further update for machines without ssh installed or on the path
1 parent ecd061b commit 7a91cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/remote.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def urls(self):
542542
if ' Push URL:' in line:
543543
yield line.split(': ')[-1]
544544
except GitCommandError as ex:
545-
if 'correct access rights'instr(ex):
545+
if any([msginstr(ex) formsgin ['correct access rights','cannot run ssh']]):
546546
# If ssh is not setup to access this repository, see issue 694
547547
result = Git().execute(['git','config','--get','remote.%s.url' % self.name])
548548
yield result

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /