projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] introduce xmalloc and xrealloc
[git.git]
/
rev-list.c
diff --git
a/rev-list.c
b/rev-list.c
index
1c797d2
..
77bfc29
100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-16,7
+16,7
@@
int main(int argc, char **argv)
commit_list_insert(commit, &list);
do {
- struct commit *commit = pop_most_recent_commit(&list);
+ struct commit *commit = pop_most_recent_commit(&list
, 0x1
);
printf("%s\n", sha1_to_hex(commit->object.sha1));
} while (list);
return 0;