summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorThomas Gummerer <t.gummerer@gmail.com>2019-07-08 16:33:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-09 18:29:02 (GMT)
commit570fe9911b6eb5c64f22a54eb3a7590b7ba5f854 (patch)
treefd89080e78686d542a828848b68e26611d7e9d20 /alloc.c
parent85c3713df5a48bbc7807fe9710fe8a22e65ea76b (diff)
downloadgit-570fe9911b6eb5c64f22a54eb3a7590b7ba5f854.zip
git-570fe9911b6eb5c64f22a54eb3a7590b7ba5f854.tar.gz
git-570fe9911b6eb5c64f22a54eb3a7590b7ba5f854.tar.bz2
apply: only pass required data to check_header_line
Currently the 'check_header_line()' function takes 'struct apply_state' as parameter, even though it only needs the linenr 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