summaryrefslogtreecommitdiff
path: root/read-tree.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2005-11-08 09:23:37 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-08 01:23:52 -0800
commit39b4ac99686148d356f7ba3c0132eb55dfda4726 (patch)
treecc093fc05d8144c03ec16f8e56195043dd150bce /read-tree.c
parent76bca9d1a95c0fbf9e31bcb7b6a52e1d318577e7 (diff)
downloadgit-39b4ac99686148d356f7ba3c0132eb55dfda4726.tar.gz
ls-files and read-tree need core.filemode
ls-files.c and read-tree.c miss the default configuration, in particular the filemode=false part. The recent +x bit flip made me notice that, because git-merge refused to merge anything saying that git-pull.sh is not up to date. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'read-tree.c')
-rw-r--r--read-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/read-tree.c b/read-tree.c
index 6a456ae611..df156ea0da 100644
--- a/read-tree.c
+++ b/read-tree.c
@@ -633,6 +633,8 @@ int main(int argc, char **argv)
if (newfd < 0)
die("unable to create new cachefile");
+ git_config(git_default_config);
+
merge = 0;
reset = 0;
for (i = 1; i < argc; i++) {