Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2019-02-11 20:16:58 +0300
committerJunio C Hamano <gitster@pobox.com>2019-02-12 00:10:57 +0300
commit5fe81438b52f8464947e5b27381a898d7451260e (patch)
tree6c570e2e27e2337d9c45a7ff76253b634f517cce /sequencer.h
parent268fbcd172cdb306e8a3e7143cc16677c963d6cd (diff)
sequencer: make sign_off_header a file local symbol
Commit d0aaa46fd3 ("commit: move empty message checks to libgit", 2017-11-10) removes the last use of 'sign_off_header' outside of the "sequencer.c" source file. Remove the extern declaration from the header file and mark the definition of the symbol with the static keyword. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sequencer.h b/sequencer.h
index c5787c6b56..e025deb007 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -83,8 +83,6 @@ int check_todo_list(void);
int skip_unnecessary_picks(void);
int rearrange_squash(void);
-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 message_is_empty(const struct strbuf *sb,