projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7620d39
)
git-rev-list: make sure the output is sorted by recency
author
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 4 Jul 2005 23:49:37 +0000
(16:49 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 4 Jul 2005 23:49:37 +0000
(16:49 -0700)
We didn't sort the refs by date, so if you had multiple refs, the end
result would not be properly sorted.
rev-list.c
patch
|
blob
|
history
diff --git
a/rev-list.c
b/rev-list.c
index 17995c34c4eae779caa36e525e9ffb72e22d87f3..825006374a0b028b9a1980a2aee494132f3a4145 100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-482,7
+482,7
@@
int main(int argc, char **argv)
commit = get_commit_reference(arg, flags);
if (!commit)
continue;
-
commit_list_insert(commit, &lis
t);
+
insert_by_date(&list, commi
t);
}
if (!merge_order) {