]> Kevux Git Server - rit/commit
add-patch: split out header from "add-interactive.h"
authorPatrick Steinhardt <ps@pks.im>
Mon, 2 Mar 2026 12:13:05 +0000 (13:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Mar 2026 23:09:34 +0000 (15:09 -0800)
commit6e4d923267ca80dd1392bf7e0673c74711e8cb68
tree22ba3dec9d122219ea066bcc5aab5b8192e061b0
parent50d063e335afd5828fbb9de2f2b2fb44fd884d2b
add-patch: split out header from "add-interactive.h"

While we have a "add-patch.c" code file, its declarations are part of
"add-interactive.h". This makes it somewhat harder than necessary to
find relevant code and to identify clear boundaries between the two
subsystems.

Split up concerns and move declarations that relate to "add-patch.c"
into a new "add-patch.h" header.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-interactive.h
add-patch.c
add-patch.h [new file with mode: 0644]