aboutsummaryrefslogtreecommitdiffstats
path: root/add-patch.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 00:41:57 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:10 -0700
commit4e120823a345cf348a052683d726c90bc4b256ca (patch)
tree6453f1bbf0b5fc757689b0b0060cb1fe3141a815 /add-patch.c
parentd812c3b6a0b41d48ce68f971d9cec50676048863 (diff)
downloadgit-4e120823a345cf348a052683d726c90bc4b256ca.tar.gz
editor: move editor-related functions and declarations into common file
cache.h and strbuf.[ch] had editor-related functions. Move these into editor.[ch]. Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'add-patch.c')
-rw-r--r--add-patch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/add-patch.c b/add-patch.c
index b01ba8fa81..8d770d203f 100644
--- a/add-patch.c
+++ b/add-patch.c
@@ -2,6 +2,7 @@
#include "add-interactive.h"
#include "advice.h"
#include "alloc.h"
+#include "editor.h"
#include "environment.h"
#include "gettext.h"
#include "object-name.h"