Read gpg program from git config gpg.program ; ported from fork by alanrossmachinery

Modified-By: Andrew Ayer <agwa@andrewayer.name>

  * Make whitespace conform to project conventions

Closes #89
Closes #65
This commit is contained in:
Andrew Ayer
2017-09-10 12:13:04 -07:00
parent 934914c2c4
commit 101b738a8d
3 changed files with 19 additions and 6 deletions

View File

@@ -254,7 +254,7 @@ static std::string get_internal_key_path (const char* key_name)
return path;
}
static std::string get_git_config (const std::string& name)
std::string get_git_config (const std::string& name)
{
// git config --get
std::vector<std::string> command;