Merge branch 'jb/gpg-program-variable-is-a-pathname'

The gpg.program configuration variable, which names a pathname to
the (custom) GPG compatible program, can now be spelled with ~tilde
expansion.

* jb/gpg-program-variable-is-a-pathname:
  gpg-interface: expand gpg.program as a path
This commit is contained in:
Junio C Hamano
2025-07-21 09:14:28 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -783,7 +783,7 @@ static int git_gpg_config(const char *var, const char *value,
if (fmtname) {
fmt = get_format_by_name(fmtname);
return git_config_string((char **) &fmt->program, var, value);
return git_config_pathname((char **) &fmt->program, var, value);
}
return 0;