* [PATCH 1/3] Don't save the commit buffer in git-describe.
@ 2007-01-10 11:36 Shawn O. Pearce
0 siblings, 0 replies; only message in thread
From: Shawn O. Pearce @ 2007-01-10 11:36 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
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>
---
describe.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/describe.c b/describe.c
index f4029ee..3c2df03 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);
--
1.4.4.4.gf027-dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-10 11:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 11:36 [PATCH 1/3] Don't save the commit buffer in git-describe Shawn O. Pearce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox