From f755494cec27fed8c9693bb91c26762061518b0b Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 6 Jul 2005 09:31:17 -0700 Subject: Make "insert_by_date()" match "commit_list_insert()" Same argument order, same return type. This allows us to use a function pointer to choose one over the other. --- rev-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rev-list.c') diff --git a/rev-list.c b/rev-list.c index 0d3c7741a5..8117caf569 100644 --- 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; - insert_by_date(&list, commit); + insert_by_date(commit, &list); } if (!merge_order) { -- cgit v1.2.1