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 /epoch.c | |
parent | f6069c5995114d0fb2fba1140be5db717ff3b396 (diff) | |
download | git-f755494cec27fed8c9693bb91c26762061518b0b.tar.gz git-f755494cec27fed8c9693bb91c26762061518b0b.tar.xz |
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 'epoch.c')
-rw-r--r-- | epoch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -255,11 +255,11 @@ static int find_base_for_list(struct commit_list *list, struct commit **boundary if (!parent_node) { parent_node = new_mass_counter(parent, &distribution); - insert_by_date(&pending, parent); + insert_by_date(parent, &pending); commit_list_insert(parent, &cleaner); } else { if (!compare(&parent_node->pending, get_zero())) - insert_by_date(&pending, parent); + insert_by_date(parent, &pending); add(&parent_node->pending, &parent_node->pending, &distribution); } } |