aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-07 17:10:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-07 17:10:40 +0200
commit61a1173ec3f202b9dc71236205de785e2a454791 (patch)
tree80b9661b1da37baacd324f32421d7fa6fc18e3ff /cache/repo_cache.go
parent265ecd81d22c39cc6daccd938a1d41c5ffab23ad (diff)
downloadgit-bug-61a1173ec3f202b9dc71236205de785e2a454791.tar.gz
bug: refactor the Pull code to have the message formating in the upper layers
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go6
1 files changed, 0 insertions, 6 deletions
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)