aboutsummaryrefslogtreecommitdiff
path: root/describe.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-10 06:36:29 -0500
committerJunio C Hamano <junkio@cox.net>2007-01-10 08:26:50 -0800
commit8c599c749f2f5aaf477db1327b97461f9fa3f62a (patch)
tree8f5978a34dc405ec7702f1cafe9bc48865fd82f6 /describe.c
parente05db0fd4f31dde7005f075a84f96b360d05984b (diff)
downloadgit-8c599c749f2f5aaf477db1327b97461f9fa3f62a.tar.gz
git-8c599c749f2f5aaf477db1327b97461f9fa3f62a.tar.xz
Don't save the commit buffer in git-describe.
The commit buffer (message of the commit) is not actually used by the git-describe process. We can save some memory by not keeping it around. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'describe.c')
-rw-r--r--describe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/describe.c b/describe.c
index f4029ee74..3c2df037e 100644
--- a/describe.c
+++ b/describe.c
@@ -162,6 +162,7 @@ int main(int argc, char **argv)
}
setup_git_directory();
+ save_commit_buffer = 0;
if (argc <= i)
describe("HEAD", 1);