Merge branch 'rj/sequencer-sign-off-header-static'
Code clean-up. * rj/sequencer-sign-off-header-static: sequencer: make sign_off_header a file local symbol
This commit is contained in:
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#define GIT_REFLOG_ACTION "GIT_REFLOG_ACTION"
|
#define GIT_REFLOG_ACTION "GIT_REFLOG_ACTION"
|
||||||
|
|
||||||
const char sign_off_header[] = "Signed-off-by: ";
|
static const char sign_off_header[] = "Signed-off-by: ";
|
||||||
static const char cherry_picked_prefix[] = "(cherry picked from commit ";
|
static const char cherry_picked_prefix[] = "(cherry picked from commit ";
|
||||||
|
|
||||||
GIT_PATH_FUNC(git_path_commit_editmsg, "COMMIT_EDITMSG")
|
GIT_PATH_FUNC(git_path_commit_editmsg, "COMMIT_EDITMSG")
|
||||||
|
@ -107,8 +107,6 @@ int complete_action(struct repository *r, struct replay_opts *opts, unsigned fla
|
|||||||
unsigned autosquash);
|
unsigned autosquash);
|
||||||
int rearrange_squash(struct repository *r);
|
int rearrange_squash(struct repository *r);
|
||||||
|
|
||||||
extern const char sign_off_header[];
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Append a signoff to the commit message in "msgbuf". The ignore_footer
|
* Append a signoff to the commit message in "msgbuf". The ignore_footer
|
||||||
* parameter specifies the number of bytes at the end of msgbuf that should
|
* parameter specifies the number of bytes at the end of msgbuf that should
|
||||||
|
Reference in New Issue
Block a user