Skip to content

Commit c9764cf

Browse files
author
R0n0066
committed
fix (commit): Fix file status codes
1 parent 13edc36 commit c9764cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func commit(message string) (err error) {
120120

121121
hasStagingFiles := false
122122
for _, status := range s {
123-
if status.Staging == 77 {
123+
if status.Staging != 32 && status.Worktree == 32 {
124124
hasStagingFiles = true
125125
}
126126
}

0 commit comments

Comments
 (0)