grep: load funcname patterns for -W
[gitweb.git] / builtin / checkout.c
index c6919f16871a97b4f91fe525e4b8e89f43eecd58..b7c630287dda662630af9883655ed23bd50e7b7e 100644 (file)
@@ -411,7 +411,7 @@ static int merge_working_tree(struct checkout_opts *opts,
                topts.fn = twoway_merge;
                topts.dir = xcalloc(1, sizeof(*topts.dir));
                topts.dir->flags |= DIR_SHOW_IGNORED;
-               topts.dir->exclude_per_dir = ".gitignore";
+               setup_standard_excludes(topts.dir);
                tree = parse_tree_indirect(old->commit ?
                                           old->commit->object.sha1 :
                                           EMPTY_TREE_SHA1_BIN);