diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-03-17 14:03:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-17 14:03:10 -0700 |
commit | af5388d2ddb0bc7c22fbe698078f4ca07879d954 (patch) | |
tree | 6829523f0d96f2014ea373a7aa5b35cdc3c45420 /builtin/push.c | |
parent | d0732a8120d9cc62d8b6efa4ec48966f890f84b7 (diff) | |
parent | cc5d1d32fd489f7eb98f762de303b499f2117638 (diff) | |
download | git-af5388d2ddb0bc7c22fbe698078f4ca07879d954.tar.gz |
Merge branch 'jc/gpg-lazy-init'
Instead of forcing each command to choose to honor GPG related
configuration variables, make the subsystem lazily initialize
itself.
* jc/gpg-lazy-init:
drop pure pass-through config callbacks
gpg-interface: lazily initialize and read the configuration
Diffstat (limited to 'builtin/push.c')
-rw-r--r-- | builtin/push.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/builtin/push.c b/builtin/push.c index 8f7d326ab3..12a402aea3 100644 --- a/builtin/push.c +++ b/builtin/push.c @@ -508,11 +508,6 @@ static int git_push_config(const char *k, const char *v, void *cb) { const char *slot_name; int *flags = cb; - int status; - - status = git_gpg_config(k, v, NULL); - if (status) - return status; if (!strcmp(k, "push.followtags")) { if (git_config_bool(k, v)) |