Commit 91d8a4c077dd1fbb89706ab4293fef3ea2187c96

Carlos Martín Nieto 2011-07-09T17:29:42

typo: one git_remote_fetchspec should be pushspec Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>

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