aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_pull.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-05-03 00:02:50 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-05-05 18:16:10 +0200
commit0d976f66e87b7c053b10d50fe0849f6c8e5412e6 (patch)
treec76afc61c1e6193ec7452963336ef20e72aec821 /commands/bridge_pull.go
parent3bcaa35b5d25ca9e12389ab4bf78600ae5df8af8 (diff)
downloadgit-bug-0d976f66e87b7c053b10d50fe0849f6c8e5412e6.tar.gz
Add importer tests
Changes to Importer and exporter interface Improve importer Fix extra edits bug
Diffstat (limited to 'commands/bridge_pull.go')
-rw-r--r--commands/bridge_pull.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/bridge_pull.go b/commands/bridge_pull.go
index 9b251479..f9958882 100644
--- a/commands/bridge_pull.go
+++ b/commands/bridge_pull.go
@@ -1,6 +1,8 @@
package commands
import (
+ "time"
+
"github.com/MichaelMure/git-bug/bridge"
"github.com/MichaelMure/git-bug/bridge/core"
"github.com/MichaelMure/git-bug/cache"
@@ -28,7 +30,8 @@ func runBridgePull(cmd *cobra.Command, args []string) error {
return err
}
- err = b.ImportAll()
+ // TODO: by default import only new events
+ err = b.ImportAll(time.Time{})
if err != nil {
return err
}