summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2017-11-24 11:07:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-24 13:44:18 (GMT)
commitb36c5908135889bd9c48a8d44d4e07f59bf799ef (patch)
tree5319aebe315eb106d7b4e47164740c50295ce97d /sequencer.h
parentb34eeea352f15f93e98982a0e7970b0026053fb2 (diff)
downloadgit-b36c5908135889bd9c48a8d44d4e07f59bf799ef.zip
git-b36c5908135889bd9c48a8d44d4e07f59bf799ef.tar.gz
git-b36c5908135889bd9c48a8d44d4e07f59bf799ef.tar.bz2
sequencer: load commit related config
Load default values for message cleanup and gpg signing of commits in preparation for committing without forking 'git commit'. Note that we interpret commit.cleanup=scissors to mean COMMIT_MSG_CLEANUP_SPACE to be consistent with 'git commit' Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sequencer.h b/sequencer.h
index 4f616c6..77cb174 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -57,6 +57,7 @@ extern const char sign_off_header[];
void append_signoff(struct strbuf *msgbuf, int ignore_footer, unsigned flag);
void append_conflicts_hint(struct strbuf *msgbuf);
+int git_sequencer_config(const char *k, const char *v, void *cb);
enum commit_msg_cleanup_mode {
COMMIT_MSG_CLEANUP_SPACE,