Skip to content

Commit

Permalink
merge-tree: lose unused "resolve_directories"
Browse files Browse the repository at this point in the history
This option is always set; simplify.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Dec 26, 2012
1 parent b13112f commit 3b8ff51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions builtin/merge-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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++;
Expand Down

0 comments on commit 3b8ff51

Please sign in to comment.