summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 7051b20b76..1b2599668f 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -160,7 +160,7 @@ static int git_sequencer_config(const char *k, const char *v, void *cb)
}
if (!strcmp(k, "commit.gpgsign")) {
- opts->gpg_sign = git_config_bool(k, v) ? "" : NULL;
+ opts->gpg_sign = git_config_bool(k, v) ? xstrdup("") : NULL;
return 0;
}