|
|
@ -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; |
|
|
|