1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-24 02:36:08 +02:00

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>
This commit is contained in:
Shawn O. Pearce 2007-01-10 06:36:29 -05:00 committed by Junio C Hamano
parent e05db0fd4f
commit 8c599c749f

View File

@ -162,6 +162,7 @@ int main(int argc, char **argv)
}
setup_git_directory();
save_commit_buffer = 0;
if (argc <= i)
describe("HEAD", 1);