diff options
author | Elijah Newren <newren@gmail.com> | 2023-04-11 10:41:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-11 18:52:10 +0300 |
commit | 4e120823a345cf348a052683d726c90bc4b256ca (patch) | |
tree | 6453f1bbf0b5fc757689b0b0060cb1fe3141a815 /cache.h | |
parent | d812c3b6a0b41d48ce68f971d9cec50676048863 (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 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -621,10 +621,7 @@ int df_name_compare(const char *name1, size_t len1, int mode1, int name_compare(const char *name1, size_t len1, const char *name2, size_t len2); int cache_name_stage_compare(const char *name1, int len1, int stage1, const char *name2, int len2, int stage2); -const char *git_editor(void); -const char *git_sequence_editor(void); const char *git_pager(int stdout_is_tty); -int is_terminal_dumb(void); struct cache_def { struct strbuf path; |