]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/checkout.c
add: modify already added files when --chmod is given
[thirdparty/git.git] / builtin / checkout.c
index c3486bdec364fde395cf3523b778ec4dc9c3223a..3398c61e9a64ab686bf59fb027277f3de578b5fb 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, 0);
+                       add_files_to_cache(NULL, NULL, 0);
                        /*
                         * NEEDSWORK: carrying over local changes
                         * when branches have different end-of-line