From: Shawn O. Pearce Date: Wed, 10 Jan 2007 11:36:29 +0000 (-0500) Subject: Don't save the commit buffer in git-describe. X-Git-Tag: v1.5.0-rc1~22 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8c599c749f2f5aaf477db1327b97461f9fa3f62a?hp=--cc 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 Signed-off-by: Junio C Hamano --- 8c599c749f2f5aaf477db1327b97461f9fa3f62a diff --git a/describe.c b/describe.c index f4029ee74e..3c2df037eb 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);