Skip to content

Commit 4f8730e

Browse files
committed
Merge pull request #514 from dleehr/fix-workdir-clean
Fix bug in -isWorkingDirectoryClean
2 parents 9560b9f + 69a1dc3 commit 4f8730e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ObjectiveGit/GTRepository+Status.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ - (BOOL)isWorkingDirectoryClean {
7878
}
7979

8080
// any untracked files?
81-
if (indexToWorkDirStatus == GTStatusDeltaStatusAdded) {
81+
if (indexToWorkDirStatus == GTStatusDeltaStatusUntracked) {
8282
clean = NO;
8383
*stop = YES;
8484
}

0 commit comments

Comments
 (0)