diff --git a/plugins/git4idea/src/git4idea/commands/GitImpl.java b/plugins/git4idea/src/git4idea/commands/GitImpl.java index eccac6e20bf8..572a6b50ac45 100644 --- a/plugins/git4idea/src/git4idea/commands/GitImpl.java +++ b/plugins/git4idea/src/git4idea/commands/GitImpl.java @@ -63,25 +63,24 @@ public class GitImpl implements Git { } /** - *
Queries Git for the unversioned files in the given paths.
- *- * Note: this method doesn't check for ignored files. You have to check if the file is ignored afterwards, if needed. - *
+ *Queries Git for the unversioned files in the given paths.
+ *Ignored files are left ignored, i. e. no information is returned about them (thus this method may also be used as a + * ignored files checker.
* * @param files files that are to be checked for the unversioned files among them. * Passnull to query the whole repository.
- * @return Unversioned files from the given scope.
+ * @return Unversioned not ignored files from the given scope.
*/
@Override
@NotNull
- public Set