Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
reflog expire: cover reflog from all worktrees
[gitweb.git]
/
builtin
/
checkout-index.c
diff --git
a/builtin/checkout-index.c
b/builtin/checkout-index.c
index 92e9d0d69f8f63619c7824af6ffc64864d486674..88b86c8d9f5a0ea9c49b42e891082203b80a977f 100644
(file)
--- a/
builtin/checkout-index.c
+++ b/
builtin/checkout-index.c
@@
-190,6
+190,7
@@
int cmd_checkout_index(int argc, const char **argv, const char *prefix)
argc = parse_options(argc, argv, prefix, builtin_checkout_index_options,
builtin_checkout_index_usage, 0);
+ state.istate = &the_index;
state.force = force;
state.quiet = quiet;
state.not_new = not_new;