diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 09:31:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 09:31:17 -0700 |
commit | f755494cec27fed8c9693bb91c26762061518b0b (patch) | |
tree | 9802a641645e28694535343c2e3e1fbe9733e5cf /rev-list.c | |
parent | f6069c5995114d0fb2fba1140be5db717ff3b396 (diff) | |
download | git-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.c | 2 |
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) { |