diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-23 00:04:46 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-23 00:04:46 +0200 |
commit | 17e2ec8f5679c1ba7ae2ea45290e9303beb3c227 (patch) | |
tree | c8862ebf6e9e9314361120127bf3fc59877c3e02 /repository/mock_repo.go | |
parent | e1f597639bfc2f796f74afa87e41581087f0b26e (diff) | |
download | git-bug-17e2ec8f5679c1ba7ae2ea45290e9303beb3c227.tar.gz |
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r-- | repository/mock_repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/mock_repo.go b/repository/mock_repo.go index c5ac53a4..4bd25738 100644 --- a/repository/mock_repo.go +++ b/repository/mock_repo.go @@ -48,11 +48,11 @@ func (r *mockRepoForTest) GetCoreEditor() (string, error) { } // PushRefs push git refs to a remote -func (r *mockRepoForTest) PushRefs(remote string, refPattern string) error { +func (r *mockRepoForTest) PushRefs(remote string, refSpec string) error { return nil } -func (r *mockRepoForTest) FetchRefs(remote string, refPattern string, remoteRefPattern string) error { +func (r *mockRepoForTest) FetchRefs(remote string, refSpec string) error { return nil } |