diff options
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/repo.go b/repository/repo.go index 7ba8a8b5..6ab7be91 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, refPattern string, remoteRefPattern string) error + FetchRefs(remote string, refSpec string) error // PushRefs push git refs to a remote - PushRefs(remote string, refPattern string) error + PushRefs(remote string, refSpec string) error // StoreData will store arbitrary data and return the corresponding hash StoreData(data []byte) (util.Hash, error) |