Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b197de0 commit fdc8ecbCopy full SHA for fdc8ecb
git/remote.py
@@ -706,8 +706,8 @@ def _assert_refspec(self):
706
if config.get_value('fetch', default=unset) is unset:
707
msg = "Remote '%s' has no refspec set.\n"
708
msg += "You can set it as follows:"
709
- msg += " 'git config --add \"remote.%s.fetch +refs/heads/*:refs/heads/*\"'." % (self.name, self.name)
710
- raise AssertionError(msg)
+ msg += " 'git config --add \"remote.%s.fetch +refs/heads/*:refs/heads/*\"'."
+ raise AssertionError(msg % (self.name, self.name))
711
finally:
712
config.release()
713
0 commit comments