From 61a1173ec3f202b9dc71236205de785e2a454791 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Fri, 7 Sep 2018 17:10:40 +0200 Subject: bug: refactor the Pull code to have the message formating in the upper layers --- cache/repo_cache.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cache/repo_cache.go') diff --git a/cache/repo_cache.go b/cache/repo_cache.go index d3d02c45..a187b43c 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -266,12 +266,6 @@ func (c *RepoCache) MergeAll(remote string) <-chan bug.MergeResult { return bug.MergeAll(c.repo, remote) } -// Pull does a Fetch and merge the updates into the local bug states -func (c *RepoCache) Pull(remote string, out io.Writer) error { - // Todo: update the cache properly - return bug.Pull(c.repo, out, remote) -} - // Push update a remote with the local changes func (c *RepoCache) Push(remote string) (string, error) { return bug.Push(c.repo, remote) -- cgit