projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936800b
)
checkout-index needs a working tree
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Sat, 4 Aug 2007 22:20:07 +0000
(23:20 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 5 Aug 2007 04:22:14 +0000
(21:22 -0700)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c
patch
|
blob
|
history
diff --git
a/git.c
b/git.c
index 25b8274d3ea49b5d9155f35e945122f579ea438d..f8c4545208472acfbb73ce527a134979ea97db43 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-315,7
+315,8
@@
static void handle_internal_command(int argc, const char **argv)
{ "branch", cmd_branch, RUN_SETUP },
{ "bundle", cmd_bundle },
{ "cat-file", cmd_cat_file, RUN_SETUP },
- { "checkout-index", cmd_checkout_index, RUN_SETUP },
+ { "checkout-index", cmd_checkout_index,
+ RUN_SETUP | NEED_WORK_TREE},
{ "check-ref-format", cmd_check_ref_format },
{ "check-attr", cmd_check_attr, RUN_SETUP | NEED_WORK_TREE },
{ "cherry", cmd_cherry, RUN_SETUP },