summaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 09:31:17 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 09:31:17 -0700
commitf755494cec27fed8c9693bb91c26762061518b0b (patch)
tree9802a641645e28694535343c2e3e1fbe9733e5cf /rev-list.c
parentf6069c5995114d0fb2fba1140be5db717ff3b396 (diff)
downloadgit-f755494cec27fed8c9693bb91c26762061518b0b.tar.gz
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.
Diffstat (limited to 'rev-list.c')
-rw-r--r--rev-list.c2
1 files changed, 1 insertions, 1 deletions
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) {