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>
Shawn O. Pearce committed
Jan 10, 2007 at 06:36 UTC
8c599c749f2f5aaf477db1327b97461f9fa3f62a
1 file changed
+1
describe.c
+1
@@ -162,6 +162,7 @@ int main(int argc, char **argv)
162
}
163
164
setup_git_directory();
165
+ save_commit_buffer = 0;
166
167
if (argc <= i)
168
describe("HEAD", 1);