projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
281a53b
)
rev-list --bisect: fix allocation of "int*" instead of "int".
author
Christian Couder
<chriscool@tuxfamily.org>
Tue, 31 Jul 2007 12:48:29 +0000
(14:48 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 1 Aug 2007 04:07:39 +0000
(21:07 -0700)
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rev-list.c
patch
|
blob
|
history
diff --git
a/builtin-rev-list.c
b/builtin-rev-list.c
index ebf53f5944f1a53c5336f69e2ef3105ce50d0823..2eb919f39cfe589bf7cfa8c77ec9b1ae29676efe 100644
(file)
--- a/
builtin-rev-list.c
+++ b/
builtin-rev-list.c
@@
-310,7
+310,7
@@
static struct commit_list *find_bisection(struct commit_list *list,
show_list("bisection 2 sorted", 0, nr, list);
*all = nr;
- weights = xcalloc(on_list, sizeof(
int*
));
+ weights = xcalloc(on_list, sizeof(
*weights
));
counted = 0;
for (n = 0, p = list; p; p = p->next) {