diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-03 00:02:50 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-05 18:16:10 +0200 |
commit | 0d976f66e87b7c053b10d50fe0849f6c8e5412e6 (patch) | |
tree | c76afc61c1e6193ec7452963336ef20e72aec821 /commands/bridge_pull.go | |
parent | 3bcaa35b5d25ca9e12389ab4bf78600ae5df8af8 (diff) | |
download | git-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.go | 5 |
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 } |