merge-tree: lose unused "resolve_directories"
authorJunio C Hamano <gitster@pobox.com>
Thu, 6 Dec 2012 23:53:41 +0000 (15:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Dec 2012 22:45:12 +0000 (14:45 -0800)
This option is always set; simplify.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge-tree.c

index b61d811158c1dff8d4b8326fbbd7489e0e50488d..95de162263c6434343d2a33ef8dc3309e47b449a 100644 (file)
@@ -6,7 +6,6 @@
 #include "merge-blobs.h"
 
 static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>";
-static int resolve_directories = 1;
 
 struct merge_list {
        struct merge_list *next;
@@ -198,8 +197,6 @@ static int unresolved_directory(const struct traverse_info *info, struct name_en
        struct tree_desc t[3];
        void *buf0, *buf1, *buf2;
 
-       if (!resolve_directories)
-               return 0;
        p = n;
        if (!p->mode) {
                p++;