t6026-merge-attr: child processes must not inherit index.lock handles
[gitweb.git] / builtin / checkout.c
index 3398c61e9a64ab686bf59fb027277f3de578b5fb..c3486bdec364fde395cf3523b778ec4dc9c3223a 100644 (file)
@@ -548,7 +548,7 @@ static int merge_working_tree(const struct checkout_opts *opts,
                         * entries in the index.
                         */
 
-                       add_files_to_cache(NULL, NULL, 0);
+                       add_files_to_cache(NULL, NULL, 0, 0);
                        /*
                         * NEEDSWORK: carrying over local changes
                         * when branches have different end-of-line