summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 19:26:28 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 19:26:28 -0700
commitbd1e17e245153fdc75feaaf5e556b922d98ca699 (patch)
tree5ad114ffcf9ccb0220a1a59f7d747a4b88ffa394 /commit.h
parentgit-rev-list: add "end" commit and "--header" flag (diff)
downloadtgif-bd1e17e245153fdc75feaaf5e556b922d98ca699.tar.xz
Make "parse_object()" also fill in commit message buffer data.
And teach fsck to free it to save memory.
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 0bb8779ca7..f7a2cb88bd 100644
--- a/commit.h
+++ b/commit.h
@@ -14,7 +14,7 @@ struct commit {
unsigned long date;
struct commit_list *parents;
struct tree *tree;
- const char *buffer;
+ char *buffer;
};
extern const char *commit_type;