From: Johannes Schindelin Date: Thu, 23 Jul 2009 15:33:06 GMT Subject: [PATCH 0/2] Make git-gc more robust with regard to grafts Message-ID: More and more Git newbies are taught the wonders of Git grafts. But that is dangerous if the exercise is not to use filter-branch right away. So let's make git-repack (and thereby, git-gc) aware of grafts and avoid culling the parent commits hidden by grafts. Björn Steinbrink (1): Add a test showing that 'git repack' throws away grafted-away parents Johannes Schindelin (1): git repack: keep commits hidden by a graft Documentation/git-pack-objects.txt | 7 ++++++- builtin-pack-objects.c | 4 ++++ cache.h | 2 ++ commit.c | 2 +- environment.c | 1 + git-repack.sh | 2 +- t/t7700-repack.sh | 12 ++++++++++++ 7 files changed, 27 insertions(+), 3 deletions(-)