summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-07-09 17:29:42 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-07-13 23:55:48 +0200
commit91d8a4c077dd1fbb89706ab4293fef3ea2187c96 (patch)
tree370552ae4f34194ab068bc55ee3710461b90f0be /include/git2/remote.h
parentd4760a42f97084fd63f914ebf04ec6275373ad66 (diff)
downloadlibgit2-91d8a4c077dd1fbb89706ab4293fef3ea2187c96.tar.gz
typo: one git_remote_fetchspec should be pushspec
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
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 fc05867c7..7775070d8 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -87,7 +87,7 @@ GIT_EXTERN(const git_refspec *) git_remote_fetchspec(struct git_remote *remote);
* @return a pointer to the push refspec or NULL if it doesn't exist
*/
-GIT_EXTERN(const git_refspec *) git_remote_fetchspec(struct git_remote *remote);
+GIT_EXTERN(const git_refspec *) git_remote_pushspec(struct git_remote *remote);
/**
* Open a connection to a remote