Commit a952b9867d21b032655ac6c0eaabb558e7875926

Nikolai Vladimirov 2013-04-23T21:28:28

remove git_remote_pushspec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 5dcd930..f02b956 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -182,15 +182,6 @@ GIT_EXTERN(int) git_remote_add_push(git_remote *remote, const char *refspec);
 GIT_EXTERN(int) git_remote_get_push_refspecs(git_strarray *array, git_remote *remote);
 
 /**
- * Get the push refspec
- *
- * @param remote the remote
- * @return a pointer to the push refspec or NULL if it doesn't exist
- */
-
-GIT_EXTERN(const git_refspec *) git_remote_pushspec(const git_remote *remote);
-
-/**
  * Clear the refspecs
  *
  * Remove all configured fetch and push refspecs from the remote.