diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2017-11-24 12:07:56 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-24 14:44:18 +0100 |
commit | b36c5908135889bd9c48a8d44d4e07f59bf799ef (patch) | |
tree | 5319aebe315eb106d7b4e47164740c50295ce97d /sequencer.h | |
parent | sequencer: simplify adding Signed-off-by: trailer (diff) | |
download | git-b36c5908135889bd9c48a8d44d4e07f59bf799ef.tar.xz git-b36c5908135889bd9c48a8d44d4e07f59bf799ef.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sequencer.h b/sequencer.h index 4f616c61a3..77cb174b2a 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, |