diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-23 09:52:19 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-23 10:26:47 +1100 |
commit | b6a5e9d615f0fee7d76f5db33ff48bf32f0ef98b (patch) | |
tree | 32644c7c8810c2217cb26d750e5eafee7e07760f /pkg/commands/sync.go | |
parent | 5011cac7ea2b1d8ce9d9976b59c17f579c270fd9 (diff) |
use cached git config
Diffstat (limited to 'pkg/commands/sync.go')
-rw-r--r-- | pkg/commands/sync.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/commands/sync.go b/pkg/commands/sync.go index 7051f2236..3f94c5f4e 100644 --- a/pkg/commands/sync.go +++ b/pkg/commands/sync.go @@ -18,10 +18,6 @@ type PushOpts struct { func (c *GitCommand) Push(opts PushOpts) error { cmdStr := "git push" - if c.GetConfigValue("push.followTags") != "false" { - cmdStr += " --follow-tags" - } - if opts.Force { cmdStr += " --force-with-lease" } |