summaryrefslogtreecommitdiff
path: root/csum-file.h
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2019-12-09 12:52:56 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-09 13:33:01 -0800
commitfee984bcab9f7331b319aa5a48824593e854b784 (patch)
treee01f7d18d23f0271a232d100c390c41e4e08423b /csum-file.h
parentname-rev: drop name_rev()'s 'generation' and 'distance' parameters (diff)
downloadtgif-fee984bcab9f7331b319aa5a48824593e854b784.tar.xz
name-rev: use 'name->tip_name' instead of 'tip_name'
Following the previous patches in this series we can get the value of 'name_rev()'s 'tip_name' parameter from the 'struct rev_name' associated with the commit as well. So let's use 'name->tip_name' instead, which makes the patch eliminating the recursion of name_rev() a bit easier to follow. Note that at this point we could drop the 'tip_name' parameter as well, but that parameter 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 'csum-file.h')
0 files changed, 0 insertions, 0 deletions