Make it explicit that respecs are added as strings.

This commit is contained in:
Matthew Duggan
2015-01-12 18:22:25 -08:00
parent 52ac41a362
commit 34fb1c00eb

View File

@@ -293,7 +293,7 @@ class Remote(object):
def add_fetch(self, spec):
"""add_fetch(refspec)
Add a fetch refspec to the remote"""
Add a fetch refspec (str) to the remote"""
err = C.git_remote_add_fetch(self._remote, to_bytes(spec))
check_error(err)
@@ -301,7 +301,7 @@ class Remote(object):
def add_push(self, spec):
"""add_push(refspec)
Add a push refspec to the remote"""
Add a push refspec (str) to the remote"""
err = C.git_remote_add_push(self._remote, to_bytes(spec))
check_error(err)