summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2019-07-08 17:33:03 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-09 11:29:02 -0700
commitd6c88c4fdc1ce189e4abad56f9e3b16d2f831867 (patch)
treed5de22698057b2bdd16c291ffd1612eae3ed60d6 /commit.h
parentapply: replace marc.info link with public-inbox (diff)
downloadtgif-d6c88c4fdc1ce189e4abad56f9e3b16d2f831867.tar.xz
apply: only pass required data to skip_tree_prefix
Currently the 'skip_tree_prefix()' function takes 'struct apply_state' as parameter, even though it only needs the p_value from that struct. This function is in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that happen we only want to pass in the required data to 'parse_git_header()', and not the whole 'struct apply_state', and thus we want functions in the callchain of 'parse_git_header()' to only take arguments they really need. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions