Skip to content

Commit

Permalink
fix: wrong inferred Git workspace status in Go #130 #129
Browse files Browse the repository at this point in the history
  • Loading branch information
flelli committed Jan 22, 2023
1 parent a2b2a70 commit 2ddccd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/go/nyx/git/go_git_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ func (r goGitRepository) IsClean() (bool, error) {
// if the output is the empty string the repository is clean
if "" == strings.TrimSpace(out.String()) {
log.Debugf("workaround #130: the 'git status' command returned an empty output so the repository is clean")
//clean = true
clean = true
} else {
log.Debugf("workaround #130: the 'git status' command returned a non-empty output so the repository is dirty")
clean = false
Expand Down

0 comments on commit 2ddccd1

Please sign in to comment.