diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2018-10-09 06:34:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 06:34:46 +0200 |
commit | 37caf1f77e48b9e33172be3abf1dcac953e8ffe9 (patch) | |
tree | 5fc148d21fa3e7b3098f2b16e9b6c6776136874b | |
parent | ba9c38b7c7cb0bbdeadfb599f080999016338572 (diff) | |
parent | da56abd1530ce85640479a6b6cf292009891a0f5 (diff) | |
download | go-git-37caf1f77e48b9e33172be3abf1dcac953e8ffe9.tar.gz |
Merge pull request #978 from urld/isclean
git: Fix Status.IsClean() documentation
-rw-r--r-- | status.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ func (s Status) IsUntracked(path string) bool { return ok && stat.Worktree == Untracked } -// IsClean returns true if all the files aren't in Unmodified status. +// IsClean returns true if all the files are in Unmodified status. func (s Status) IsClean() bool { for _, status := range s { if status.Worktree != Unmodified || status.Staging != Unmodified { |