Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make 'unpack_trees()' take the index to work on as an argument
[gitweb.git]
/
builtin-read-tree.c
diff --git
a/builtin-read-tree.c
b/builtin-read-tree.c
index 0138f5a9172034b2ce34222ff077a975f8998005..d004e9043100a45ae3ccf1d08f819cfdbc0b099c 100644
(file)
--- a/
builtin-read-tree.c
+++ b/
builtin-read-tree.c
@@
-102,6
+102,7
@@
int cmd_read_tree(int argc, const char **argv, const char *unused_prefix)
memset(&opts, 0, sizeof(opts));
opts.head_idx = -1;
+ opts.index = &the_index;
git_config(git_default_config);