]> git.ipfire.org Git - thirdparty/git.git/commit - apply.h
apply: make parse_git_diff_header public
authorThomas Gummerer <t.gummerer@gmail.com>
Thu, 11 Jul 2019 16:08:44 +0000 (17:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jul 2019 21:29:27 +0000 (14:29 -0700)
commitef283b3699f91c9138753946dd53bec55289498a
treeea5a150d96e677111cd7376c5a00f7193c3e75dd
parent80e184123202761a4be32be12be12f7ff469fe5b
apply: make parse_git_diff_header public

Make 'parse_git_header()' (renamed to 'parse_git_diff_header()') a
"public" function in apply.h, so we can re-use it in range-diff in a
subsequent commit.  We're renaming the function to make it clearer in
other parts of the codebase that we're talking about a diff header and
not just any header.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
apply.c
apply.h