diff options
Diffstat (limited to 'builtin/am.c')
| -rw-r--r-- | builtin/am.c | 13 | 
1 files changed, 12 insertions, 1 deletions
| diff --git a/builtin/am.c b/builtin/am.c index 473d794fc5..ec75906e4e 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -2125,6 +2125,17 @@ enum resume_mode {  	RESUME_ABORT  }; +static int git_am_config(const char *k, const char *v, void *cb) +{ +	int status; + +	status = git_gpg_config(k, v, NULL); +	if (status) +		return status; + +	return git_default_config(k, v, NULL); +} +  int cmd_am(int argc, const char **argv, const char *prefix)  {  	struct am_state state; @@ -2223,7 +2234,7 @@ int cmd_am(int argc, const char **argv, const char *prefix)  		OPT_END()  	}; -	git_config(git_default_config, NULL); +	git_config(git_am_config, NULL);  	am_state_init(&state, git_path("rebase-apply")); | 
