diff --git a/cmd/git.go b/cmd/git.go index 987bb99..f186834 100644 --- a/cmd/git.go +++ b/cmd/git.go @@ -99,10 +99,9 @@ func refreshBranch() error { if err != nil { return err } - if strings.Contains(strings.TrimSpace(string(msg)), "up to date") { - return nil + if strings.Contains(strings.TrimSpace(string(msg)), "Fast-forward") { + fmt.Println("Branch was fast-forwarded by bit") } - fmt.Println("Branch was fast-forwarded by bit") return nil }