summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-03-10 11:13:40 -0800
committerJunio C Hamano <gitster@pobox.com>2016-03-10 11:13:41 -0800
commit28eec80b602559403cca96531dce2930ac362095 (patch)
treed7ff48184936b70d788f8d3aa7500c4134215c4f /cache.h
parent9c17ccaa49d00a87cefe0ef18a371e4f45e968fc (diff)
parent708b8cc9a114ea1e5b90f5f52fd24ecade4e8b40 (diff)
downloadgit-28eec80b602559403cca96531dce2930ac362095.tar.gz
Merge branch 'jc/am-i-v-fix' into maint
The "v(iew)" subcommand of the interactive "git am -i" command was broken in 2.6.0 timeframe when the command was rewritten in C. * jc/am-i-v-fix: am -i: fix "v"iew pager: factor out a helper to prepare a child process to run the pager pager: lose a separate argv[]
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index e2e64d188e..1f145c2c6a 100644
--- a/cache.h
+++ b/cache.h
@@ -228,7 +228,9 @@ struct cache_entry {
#error "CE_EXTENDED_FLAGS out of range"
#endif
+/* Forward structure decls */
struct pathspec;
+struct child_process;
/*
* Copy the sha1 and stat state of a cache entry from one to
@@ -1679,6 +1681,7 @@ extern int pager_use_color;
extern int term_columns(void);
extern int decimal_width(uintmax_t);
extern int check_pager_config(const char *cmd);
+extern void prepare_pager_args(struct child_process *, const char *pager);
extern const char *editor_program;
extern const char *askpass_program;