summaryrefslogtreecommitdiff
path: root/builtin/branch.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 /builtin/branch.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 'builtin/branch.c')
-rw-r--r--builtin/branch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index 7c1c872708..1fb11d55e6 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -8,6 +8,7 @@
#include "cache.h"
#include "config.h"
#include "color.h"
+#include "editor.h"
#include "environment.h"
#include "refs.h"
#include "commit.h"