diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-11-10 20:05:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-11 16:54:15 -0800 |
commit | 8f67f8aefb1b751073f8b36fae8be8f72eb93f4a (patch) | |
tree | 5458e87f98485937b0b5b747158ce8bfc2bcda06 /merge-recursive.c | |
parent | Use OPT_BIT in builtin-pack-refs (diff) | |
download | tgif-8f67f8aefb1b751073f8b36fae8be8f72eb93f4a.tar.xz |
Make the diff_options bitfields be an unsigned with explicit masks.
reverse_diff was a bit-value in disguise, it's merged in the flags now.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-recursive.c')
-rw-r--r-- | merge-recursive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/merge-recursive.c b/merge-recursive.c index 6c6f595fbc..9a1e2f269d 100644 --- a/merge-recursive.c +++ b/merge-recursive.c @@ -366,7 +366,7 @@ static struct path_list *get_renames(struct tree *tree, renames = xcalloc(1, sizeof(struct path_list)); diff_setup(&opts); - opts.recursive = 1; + DIFF_OPT_SET(&opts, RECURSIVE); opts.detect_rename = DIFF_DETECT_RENAME; opts.rename_limit = rename_limit; opts.output_format = DIFF_FORMAT_NO_OUTPUT; |