diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-12 21:09:30 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-12 21:09:30 +0200 |
commit | e2f4b027c946831c3f4f119d87a80513c7cf8fdc (patch) | |
tree | b2ec57c89c49062ab2e8adeacb2646d2f152db80 /repository/mock_repo.go | |
parent | 721ed3248e8bf167a89df14d9fc2bf5b0fe45753 (diff) | |
download | git-bug-e2f4b027c946831c3f4f119d87a80513c7cf8fdc.tar.gz |
termui: implement push/pull
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r-- | repository/mock_repo.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/repository/mock_repo.go b/repository/mock_repo.go index eb48f85f..20fb3d87 100644 --- a/repository/mock_repo.go +++ b/repository/mock_repo.go @@ -54,12 +54,12 @@ func (r *mockRepoForTest) GetCoreEditor() (string, error) { } // PushRefs push git refs to a remote -func (r *mockRepoForTest) PushRefs(remote string, refSpec string) error { - return nil +func (r *mockRepoForTest) PushRefs(remote string, refSpec string) (string, error) { + return "", nil } -func (r *mockRepoForTest) FetchRefs(remote string, refSpec string) error { - return nil +func (r *mockRepoForTest) FetchRefs(remote string, refSpec string) (string, error) { + return "", nil } func (r *mockRepoForTest) StoreData(data []byte) (util.Hash, error) { |