summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76bca9d)
raw | patch | inline | side by side (parent: 76bca9d)
author | Alex Riesen <raa.lkml@gmail.com> | |
Tue, 8 Nov 2005 08:23:37 +0000 (09:23 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 8 Nov 2005 09:23:52 +0000 (01:23 -0800) |
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>
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>
ls-files.c | patch | blob | history | |
read-tree.c | patch | blob | history |
diff --git a/ls-files.c b/ls-files.c
index f7653e7d32aa6fa72d9c0e3fb1ad618b9536538c..db2288aeee61bf64f30fdcc4b11e91c0cd3038a0 100644 (file)
--- a/ls-files.c
+++ b/ls-files.c
prefix = setup_git_directory();
if (prefix)
prefix_offset = strlen(prefix);
+ git_config(git_default_config);
for (i = 1; i < argc; i++) {
const char *arg = argv[i];
diff --git a/read-tree.c b/read-tree.c
index 6a456ae61100f8e45f97394d7ea23be4faa63fc4..df156ea0dad15ee810e8036442dfcab9202ef46a 100644 (file)
--- a/read-tree.c
+++ b/read-tree.c
if (newfd < 0)
die("unable to create new cachefile");
+ git_config(git_default_config);
+
merge = 0;
reset = 0;
for (i = 1; i < argc; i++) {