]> git.ipfire.org Git - thirdparty/git.git/commit - add-patch.c
editor: move editor-related functions and declarations into common file
authorElijah Newren <newren@gmail.com>
Tue, 11 Apr 2023 07:41:57 +0000 (00:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Apr 2023 15:52:10 +0000 (08:52 -0700)
commit4e120823a345cf348a052683d726c90bc4b256ca
tree6453f1bbf0b5fc757689b0b0060cb1fe3141a815
parentd812c3b6a0b41d48ce68f971d9cec50676048863
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>
21 files changed:
add-patch.c
builtin/add.c
builtin/am.c
builtin/branch.c
builtin/bugreport.c
builtin/commit.c
builtin/config.c
builtin/merge.c
builtin/notes.c
builtin/replace.c
builtin/tag.c
builtin/var.c
cache.h
color.c
editor.c
editor.h [new file with mode: 0644]
pager.c
rebase-interactive.c
sideband.c
strbuf.c
strbuf.h