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:
authorElijah Newren <newren@gmail.com>2023-04-11 10:41:57 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-11 18:52:10 +0300
commit4e120823a345cf348a052683d726c90bc4b256ca (patch)
tree6453f1bbf0b5fc757689b0b0060cb1fe3141a815 /color.c
parentd812c3b6a0b41d48ce68f971d9cec50676048863 (diff)
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 'color.c')
-rw-r--r--color.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/color.c b/color.c
index 672dcbb73a..a8e8d5202a 100644
--- a/color.c
+++ b/color.c
@@ -1,6 +1,7 @@
#include "cache.h"
#include "config.h"
#include "color.h"
+#include "editor.h"
#include "gettext.h"
#include "hex.h"