From e2f4b027c946831c3f4f119d87a80513c7cf8fdc Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 12 Aug 2018 21:09:30 +0200 Subject: termui: implement push/pull --- repository/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repository/repo.go') diff --git a/repository/repo.go b/repository/repo.go index 057223ad..372a8066 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -22,10 +22,10 @@ type Repo interface { GetCoreEditor() (string, error) // FetchRefs fetch git refs from a remote - FetchRefs(remote string, refSpec string) error + FetchRefs(remote string, refSpec string) (string, error) // PushRefs push git refs to a remote - PushRefs(remote string, refSpec string) error + PushRefs(remote string, refSpec string) (string, error) // StoreData will store arbitrary data and return the corresponding hash StoreData(data []byte) (util.Hash, error) -- cgit