Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gummerer <t.gummerer@gmail.com>2019-07-08 19:33:06 +0300
committerJunio C Hamano <gitster@pobox.com>2019-07-09 21:29:03 +0300
commit877a833b5126f9a06dad07db169b770f898cc7b9 (patch)
tree5cdffc806ded54338ca45316362bbbd1736be370 /apply.h
parent570fe9911b6eb5c64f22a54eb3a7590b7ba5f854 (diff)
apply: only pass required data to find_name_*
Currently the 'find_name_*()' functions take 'struct apply_state' as parameter, even though they only need the 'root' member from that struct. These functions are 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 'apply.h')
0 files changed, 0 insertions, 0 deletions