Browse Source

Merge "Merge branch 'stable-5.5'"

next
David Pursehouse 5 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
0bfba11186
  1. 5
      org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java

5
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java

@ -947,9 +947,10 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator {
if (fileLastModified.getEpochSecond() != cacheLastModified if (fileLastModified.getEpochSecond() != cacheLastModified
.getEpochSecond()) { .getEpochSecond()) {
return MetadataDiff.DIFFER_BY_TIMESTAMP; return MetadataDiff.DIFFER_BY_TIMESTAMP;
} else if (entry.isSmudged()) {
return MetadataDiff.SMUDGED;
} }
} } else if (!fileLastModified.equals(cacheLastModified)) {
if (!fileLastModified.equals(cacheLastModified)) {
return MetadataDiff.DIFFER_BY_TIMESTAMP; return MetadataDiff.DIFFER_BY_TIMESTAMP;
} else if (entry.isSmudged()) { } else if (entry.isSmudged()) {
return MetadataDiff.SMUDGED; return MetadataDiff.SMUDGED;

Loading…
Cancel
Save