aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_pull.go
diff options
context:
space:
mode:
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
}