Commit 18bdba0e1a1777f01f13ba24ed4c79e438aea218

Vicent Martí 2011-07-13T18:02:59

Merge pull request #324 from carlosmn/development typo: one git_remote_fetchspec should be pushspec

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/remote.h b/include/git2/remote.h
index fc05867..7775070 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