diff --git a/ObjectiveGit/GTRepository+Status.h b/ObjectiveGit/GTRepository+Status.h index d21e34fe7..b0e1e7f65 100644 --- a/ObjectiveGit/GTRepository+Status.h +++ b/ObjectiveGit/GTRepository+Status.h @@ -126,7 +126,7 @@ extern NSString *const GTRepositoryStatusOptionsPathSpecArrayKey; /// Tests the ignore rules to see if the file should be considered as ignored. /// -/// fileURL - A string path relative to the working copy. Must not be nil. +/// fileURL - A local file URL for a file in the repository. Must not be nil. /// success - If not NULL, will be set to indicate success or fail. /// error - If not nil, set to any error that occurs. /// diff --git a/ObjectiveGit/GTRepository+Status.m b/ObjectiveGit/GTRepository+Status.m index e5e236902..a7821b44a 100644 --- a/ObjectiveGit/GTRepository+Status.m +++ b/ObjectiveGit/GTRepository+Status.m @@ -122,7 +122,7 @@ - (BOOL)shouldFileBeIgnored:(NSURL *)fileURL success:(BOOL *)success error:(NSEr } if (success != NULL) *success = YES; - return (ignoreState == 0 ? YES : NO); + return (ignoreState == 1 ? YES : NO); } @end