summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorArthur Schreiber <schreiber.arthur@googlemail.com>2014-01-26 19:35:02 +0100
committerArthur Schreiber <schreiber.arthur@googlemail.com>2014-01-26 19:35:02 +0100
commit991b2840eb6389048bccdb40b51889e32e8f1460 (patch)
tree4714a320a2cc9c069b1a295ab9dcc7fdab464295 /include/git2/remote.h
parent11f6ad5fcf5f1251ef1b51d18409f84cb87cb8b7 (diff)
downloadlibgit2-991b2840eb6389048bccdb40b51889e32e8f1460.tar.gz
Make sure git_remote_dup copies a remote's refspecs correctly.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index c3fd932c9..eba6ca7f9 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -117,7 +117,7 @@ GIT_EXTERN(int) git_remote_save(const git_remote *remote);
* @param source object to copy
* @return 0 or an error code
*/
-GIT_EXTERN(int) git_remote_dup(git_remote **dest, const git_remote *source);
+GIT_EXTERN(int) git_remote_dup(git_remote **dest, git_remote *source);
/**
* Get the remote's repository