Skip to content
Snippets Groups Projects
Commit 3bf96dd0 authored by Robin Rosenberg's avatar Robin Rosenberg
Browse files

Cache filemode in GitIndex


Apparently this was the intention, but never happened

Signed-off-by: default avatarRobin Rosenberg <robin.rosenberg@dewire.com>
parent 3a2a43a1
No related branches found
No related tags found
No related merge requests found
......@@ -353,7 +353,8 @@ private boolean config_filemode() {
if (filemode != null)
return filemode.booleanValue();
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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment