SystemFiles/GOG

BUG: Git has a special classification for renamed files (R) - GOG should still commit when this flag is present

Closed this issue · 0 comments

GOG/git/git.go

Lines 16 to 21 in 57110cd

func HasUncommittedChanges() bool {
cmd := exec.Command("bash", "-c", "git status --porcelain | egrep '^[A,M,D]'")
_, err := cmd.Output()
return err == nil
}