diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-11-12 11:38:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-06 13:29:04 -0800 |
commit | 8c5724c585791662ec5701719e8665a2db5517fd (patch) | |
tree | a9130035c3dd90bb09ab47a4a84fec3c0682e1a8 /oidmap.c | |
parent | name-rev: restructure creating/updating 'struct rev_name' instances (diff) | |
download | tgif-8c5724c585791662ec5701719e8665a2db5517fd.tar.xz |
name-rev: drop name_rev()'s 'generation' and 'distance' parameters
Following the previous patches in this series we can get the values of
name_rev()'s 'generation' and 'distance' parameters from the 'stuct
rev_name' associated with the commit as well.
Let's simplify the function's signature and remove these two
unnecessary parameters.
Note that at this point we could do the same with the 'tip_name',
'taggerdate' and 'from_tag' parameters as well, but those parameters
will be necessary later, after the recursion is eliminated.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'oidmap.c')
0 files changed, 0 insertions, 0 deletions