summaryrefslogtreecommitdiff
path: root/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.go b/remote.go
index 3e01ce1..d556f99 100644
--- a/remote.go
+++ b/remote.go
@@ -316,7 +316,7 @@ func freeStrarray(arr *C.git_strarray) {
C.free(unsafe.Pointer(arr.strings))
}
-func (o *Remote) GetFetchRefspecs() ([]string, error) {
+func (o *Remote) FetchRefspecs() ([]string, error) {
crefspecs := C.git_strarray{}
runtime.LockOSThread()
@@ -362,7 +362,7 @@ func (o *Remote) AddPush(refspec string) error {
return nil
}
-func (o *Remote) GetPushRefspecs() ([]string, error) {
+func (o *Remote) PushRefspecs() ([]string, error) {
crefspecs := C.git_strarray{}
runtime.LockOSThread()