Code

merge-recursive implicitely depends on trust_executable_bit
authorAlex Riesen <raa.lkml@gmail.com>
Mon, 6 Nov 2006 10:38:52 +0000 (11:38 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 6 Nov 2006 16:42:02 +0000 (08:42 -0800)
Read the configuration in to get core.filemode value for this
particular repository.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-recursive.c

index 2ba43ae84b20f993ba175f728297cf5360066872..c81048d7a7c133f8150da3ef43eab1854ea6be54 100644 (file)
@@ -1308,6 +1308,7 @@ int main(int argc, char *argv[])
        const char *branch1, *branch2;
        struct commit *result, *h1, *h2;
 
+       git_config(git_default_config); /* core.filemode */
        original_index_file = getenv("GIT_INDEX_FILE");
 
        if (!original_index_file)