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

Commitfdc8ecb

Browse files
committed
fix(remote): assemble exception message completely
... before trying to substitute values in.Fixes#575
1 parentb197de0 commitfdc8ecb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,8 @@ def _assert_refspec(self):
706706
ifconfig.get_value('fetch',default=unset)isunset:
707707
msg="Remote '%s' has no refspec set.\n"
708708
msg+="You can set it as follows:"
709-
msg+=" 'git config --add\"remote.%s.fetch +refs/heads/*:refs/heads/*\"'."% (self.name,self.name)
710-
raiseAssertionError(msg)
709+
msg+=" 'git config --add\"remote.%s.fetch +refs/heads/*:refs/heads/*\"'."
710+
raiseAssertionError(msg% (self.name,self.name))
711711
finally:
712712
config.release()
713713

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp