Skip to content

Commit

Permalink
merge-recursive implicitely depends on trust_executable_bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Riesen authored and Junio C Hamano committed Nov 6, 2006
1 parent fe732ed commit 9faed78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions merge-recursive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9faed78

Please sign in to comment.