mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 04:43:08 +03:00
added tests and fixed bug found in tests
This commit is contained in:
committed by
Jesse Duffield
parent
c4cce58464
commit
e05c41828c
@@ -26,7 +26,9 @@ func (c *GitCommand) usingGpg() bool {
|
||||
func (c *GitCommand) Push(branchName string, force bool, upstream string, args string, promptUserForCredential func(string) string) error {
|
||||
followTagsFlag := "--follow-tags"
|
||||
followsign, _ := c.getLocalGitConfig("push.followTags")
|
||||
if followsign == "" {
|
||||
if followsign == "false" {
|
||||
followTagsFlag = ""
|
||||
} else if followsign == "" {
|
||||
followsign, _ = c.getGlobalGitConfig("push.followTags")
|
||||
if followsign == "false" {
|
||||
followTagsFlag = ""
|
||||
|
||||
Reference in New Issue
Block a user