Cache filemode in GitIndex
Apparently this was the intention, but never happened Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
This commit is contained in:
parent
3a2a43a1dc
commit
3bf96dd04b
|
@ -353,7 +353,8 @@ private boolean config_filemode() {
|
||||||
if (filemode != null)
|
if (filemode != null)
|
||||||
return filemode.booleanValue();
|
return filemode.booleanValue();
|
||||||
RepositoryConfig config = db.getConfig();
|
RepositoryConfig config = db.getConfig();
|
||||||
return config.getBoolean("core", null, "filemode", true);
|
filemode = Boolean.valueOf(config.getBoolean("core", null, "filemode", true));
|
||||||
|
return filemode.booleanValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** An index entry */
|
/** An index entry */
|
||||||
|
|
Loading…
Reference in New Issue