From: Junio C Hamano Date: Mon, 29 May 2006 05:57:47 +0000 (-0700) Subject: Merge branch 'jc/cache-tree' X-Git-Tag: v1.4.0-rc1~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f69d405d749742945afd462bff6541604ecd420;p=git.git Merge branch 'jc/cache-tree' * jc/cache-tree: (26 commits) builtin-rm: squelch compiler warnings. git-write-tree writes garbage on sparc64 Fix crash when reading the empty tree fsck-objects: do not segfault on missing tree in cache-tree cache-tree: a bit more debugging support. read-tree: invalidate cache-tree entry when a new index entry is added. Fix test-dump-cache-tree in one-tree disappeared case. fsck-objects: mark objects reachable from cache-tree cache-tree: replace a sscanf() by two strtol() calls cache-tree.c: typefix test-dump-cache-tree: validate the cached data as well. cache_tree_update: give an option to update cache-tree only. read-tree: teach 1-way merege and plain read to prime cache-tree. read-tree: teach 1 and 2 way merges about cache-tree. update-index: when --unresolve, smudge the relevant cache-tree entries. test-dump-cache-tree: report number of subtrees. cache-tree: sort the subtree entries. Teach fsck-objects about cache-tree. index: make the index file format extensible. cache-tree: protect against "git prune". ... Conflicts: Makefile, builtin.h, git.c: resolved the same way as in next. --- 3f69d405d749742945afd462bff6541604ecd420 diff --cc builtin-read-tree.c index ec40d013c,99e7c7504..716f79251 --- a/builtin-read-tree.c +++ b/builtin-read-tree.c @@@ -9,9 -9,9 +9,10 @@@ #include "object.h" #include "tree.h" + #include "cache-tree.h" #include #include +#include "builtin.h" static int reset = 0; static int merge = 0;