diff --git a/cmd/gorelease/gorelease.go b/cmd/gorelease/gorelease.go index e15532352..68037482f 100644 --- a/cmd/gorelease/gorelease.go +++ b/cmd/gorelease/gorelease.go @@ -1507,7 +1507,7 @@ func shortRetractionRationale(rationales []string) (string, bool) { // changes. func hasGitUncommittedChanges(dir string) (bool, error) { stdout := &bytes.Buffer{} - cmd := exec.Command("git", "status", "--porcelain") + cmd := exec.Command("git", "diff") cmd.Dir = dir cmd.Stdout = stdout if err := cmd.Run(); err != nil {