summaryrefslogtreecommitdiff
path: root/write-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-27 16:25:32 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-27 16:25:32 -0700
commitfbc0f28a8dbc76b0f63f5fb0fcd2f0a45354676a (patch)
tree0bc2fe0c9c8b67616282a5be7315c453686f3536 /write-tree.c
parentMerge branch 'jc/pathcheck' into next (diff)
parenttest-dump-cache-tree: validate the cached data as well. (diff)
downloadtgif-fbc0f28a8dbc76b0f63f5fb0fcd2f0a45354676a.tar.xz
Merge branch 'jc/cache-tree' into next
* jc/cache-tree: test-dump-cache-tree: validate the cached data as well. cache_tree_update: give an option to update cache-tree only.
Diffstat (limited to 'write-tree.c')
-rw-r--r--write-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/write-tree.c b/write-tree.c
index a5069921a0..7a4f691d8a 100644
--- a/write-tree.c
+++ b/write-tree.c
@@ -41,7 +41,7 @@ int main(int argc, char **argv)
if (!was_valid) {
if (cache_tree_update(active_cache_tree,
active_cache, active_nr,
- missing_ok) < 0)
+ missing_ok, 0) < 0)
die("git-write-tree: error building trees");
if (0 <= newfd) {
if (!write_cache(newfd, active_cache, active_nr))