|
|
@ -274,8 +274,9 @@ public class DirCacheCheckout { |
|
|
|
WorkingTreeIterator f) { |
|
|
|
WorkingTreeIterator f) { |
|
|
|
if (m != null) { |
|
|
|
if (m != null) { |
|
|
|
if (i == null || f == null || !m.idEqual(i) |
|
|
|
if (i == null || f == null || !m.idEqual(i) |
|
|
|
|| f.isModified(i.getDirCacheEntry(), true, |
|
|
|
|| (i.getDirCacheEntry() != null && f.isModified(i |
|
|
|
config_filemode(), repo.getFS())) { |
|
|
|
.getDirCacheEntry(), true, config_filemode(), repo |
|
|
|
|
|
|
|
.getFS()))) { |
|
|
|
update(m.getEntryPathString(), m.getEntryObjectId(), |
|
|
|
update(m.getEntryPathString(), m.getEntryObjectId(), |
|
|
|
m.getEntryFileMode()); |
|
|
|
m.getEntryFileMode()); |
|
|
|
} else |
|
|
|
} else |
|
|
|