提交 8c599c74 编写于 作者: S Shawn O. Pearce 提交者: Junio C Hamano

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: NShawn O. Pearce <spearce@spearce.org>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 e05db0fd
......@@ -162,6 +162,7 @@ int main(int argc, char **argv)
}
setup_git_directory();
save_commit_buffer = 0;
if (argc <= i)
describe("HEAD", 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册