pager.h: move declarations for pager.c functions from cache.h

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren
2023-04-11 00:41:59 -07:00
committed by Junio C Hamano
parent 0e8d4b9db7
commit ca4eed708d
23 changed files with 39 additions and 14 deletions

17
pager.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef PAGER_H
#define PAGER_H
struct child_process;
const char *git_pager(int stdout_is_tty);
void setup_pager(void);
int pager_in_use(void);
int term_columns(void);
void term_clear_line(void);
int decimal_width(uintmax_t);
int check_pager_config(const char *cmd);
void prepare_pager_args(struct child_process *, const char *pager);
extern int pager_use_color;
#endif /* PAGER_H */