summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 244a70e)
raw | patch | inline | side by side (parent: 244a70e)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 5 Jan 2007 21:31:43 +0000 (13:31 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 5 Jan 2007 21:31:43 +0000 (13:31 -0800) |
Somehow we forgot to turn save_commit_buffer off while walking
the reachable objects. Releasing the memory for commit object
data that we do not use matters for large projects (for example,
about 90MB is saved while traversing linux-2.6 history).
Signed-off-by: Junio C Hamano <junkio@cox.net>
the reachable objects. Releasing the memory for commit object
data that we do not use matters for large projects (for example,
about 90MB is saved while traversing linux-2.6 history).
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-prune.c | patch | blob | history |
diff --git a/builtin-prune.c b/builtin-prune.c
index 00a53b36479a25a51734fa359ebf2f649795437b..b469c43bc55440d982005b81252ebfd711faa074 100644 (file)
--- a/builtin-prune.c
+++ b/builtin-prune.c
usage(prune_usage);
}
+ save_commit_buffer = 0;
+
/*
* Set up revision parsing, and mark us as being interested
* in all object types, not just commits.