summaryrefslogtreecommitdiff
path: root/push.go
diff options
context:
space:
mode:
Diffstat (limited to 'push.go')
-rw-r--r--push.go11
1 files changed, 1 insertions, 10 deletions
diff --git a/push.go b/push.go
index e6fe51f..ff96b08 100644
--- a/push.go
+++ b/push.go
@@ -31,6 +31,7 @@ func (p *Push) Free() {
C.git_push_free(p.ptr)
}
+// This class is deprecated. Please use Remote.Push() instead
func (remote *Remote) NewPush() (*Push, error) {
runtime.LockOSThread()
@@ -56,16 +57,6 @@ func (p *Push) Finish() error {
return nil
}
-func (p *Push) UnpackOk() bool {
-
- ret := C.git_push_unpack_ok(p.ptr)
- if ret == 0 {
- return false
- }
- return true
-
-}
-
func (p *Push) UpdateTips(sig *Signature, msg string) error {
var csig *C.git_signature = nil