diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2019-07-08 16:33:04 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-09 18:29:02 (GMT) |
commit | 85c3713df5a48bbc7807fe9710fe8a22e65ea76b (patch) | |
tree | adaecdbd6e85d599fcb74eeed937c1487b1fb864 /alloc.c | |
parent | d6c88c4fdc1ce189e4abad56f9e3b16d2f831867 (diff) | |
download | git-85c3713df5a48bbc7807fe9710fe8a22e65ea76b.zip git-85c3713df5a48bbc7807fe9710fe8a22e65ea76b.tar.gz git-85c3713df5a48bbc7807fe9710fe8a22e65ea76b.tar.bz2 |
apply: only pass required data to git_header_name
Currently the 'git_header_name()' 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 'alloc.c')
0 files changed, 0 insertions, 0 deletions