projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Improve git-rev-list memory usage further
[git.git]
/
commit-tree.c
diff --git
a/commit-tree.c
b/commit-tree.c
index
d545f62
..
b1ef0b5
100644
(file)
--- a/
commit-tree.c
+++ b/
commit-tree.c
@@
-64,7
+64,7
@@
static void check_valid(unsigned char *sha1, const char *expect)
#define MAXPARENT (16)
static unsigned char parent_sha1[MAXPARENT][20];
#define MAXPARENT (16)
static unsigned char parent_sha1[MAXPARENT][20];
-static c
har *commit_tree_usage
= "git-commit-tree <sha1> [-p <sha1>]* < changelog";
+static c
onst char commit_tree_usage[]
= "git-commit-tree <sha1> [-p <sha1>]* < changelog";
static int new_parent(int idx)
{
static int new_parent(int idx)
{