MCPcopy Create free account
hub / github.com/git/git / set_signing_key

Function set_signing_key

gpg-interface.c:730–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730void set_signing_key(const char *key)
731{
732 gpg_interface_lazy_init();
733
734 free(configured_signing_key);
735 configured_signing_key = xstrdup(key);
736}
737
738static int git_gpg_config(const char *var, const char *value,
739 const struct config_context *ctx UNUSED,

Callers 2

git_gpg_configFunction · 0.85
cmd_tagFunction · 0.85

Calls 2

gpg_interface_lazy_initFunction · 0.85
xstrdupFunction · 0.85

Tested by

no test coverage detected