IndexDiffFilter: Simplify a boolean expression

Change-Id: Ibdd0338b638b864d6572045b084b08a04471ecf7
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
This commit is contained in:
Sebastian Schuberth 2015-05-08 11:02:44 +02:00
parent 3d231bd95e
commit 926ad4296e
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ public boolean include(TreeWalk tw) throws MissingObjectException,
// If i is cnt then the path does not appear in any other tree,
// and this working tree entry can be safely ignored.
return i == cnt ? false : true;
return i != cnt;
} else {
// In working tree and not ignored, and not in DirCache.
return true;