Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 37caf1f

Browse files
authored
Merge pull request #978 from urld/isclean
git: Fix Status.IsClean() documentation
2 parents ba9c38b + da56abd commit 37caf1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (s Status) IsUntracked(path string) bool {
2626
return ok && stat.Worktree == Untracked
2727
}
2828

29-
// IsClean returns true if all the files aren't in Unmodified status.
29+
// IsClean returns true if all the files are in Unmodified status.
3030
func (s Status) IsClean() bool {
3131
for _, status := range s {
3232
if status.Worktree != Unmodified || status.Staging != Unmodified {

0 commit comments

Comments
 (0)