/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
"git-add -n -u" should not add but just report
[git/git.git]
/
builtin-checkout.c
diff --git
a/builtin-checkout.c
b/builtin-checkout.c
index
10ec137
..
05c0642
100644
(file)
--- a/
builtin-checkout.c
+++ b/
builtin-checkout.c
@@
-282,7
+282,7
@@
static int merge_working_tree(struct checkout_opts *opts,
* entries in the index.
*/
- add_files_to_cache(
0, NULL, NULL
);
+ add_files_to_cache(
NULL, NULL, 0
);
work = write_tree_from_memory();
ret = reset_to_new(new->commit->tree, opts->quiet);