Thread (6 messages) flat view 6 messages, 4 authors, 2016-12-29
STALE3546d

[PATCH] am: add am.signoff add config variable

From: Eduardo Habkost <hidden>
Date: 2016-12-28 17:41:42
Subsystem: the rest · Maintainer: Linus Torvalds

git-am has options to enable --message-id and --3way by default,
but no option to enable --signoff by default. Add a "am.signoff"
config option.

Signed-off-by: Eduardo Habkost <redacted>
---
 builtin/am.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/builtin/am.c b/builtin/am.c
index 31fb605..d2e0233 100644
--- a/builtin/am.c
+++ b/builtin/am.c
@@ -154,6 +154,8 @@ static void am_state_init(struct am_state *state, const char *dir)
 
 	git_config_get_bool("am.messageid", &state->message_id);
 
+	git_config_get_bool("am.signoff", &state->signoff);
+
 	state->scissors = SCISSORS_UNSET;
 
 	argv_array_init(&state->git_apply_opts);
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help