fix: tag.gpgsign setting not updated

This commit is contained in:
leo 2024-06-19 10:21:36 +08:00
parent 9ae6df4597
commit 86226d5484
No known key found for this signature in database
3 changed files with 28 additions and 32 deletions

View file

@ -14,7 +14,10 @@ namespace SourceGit.Commands
public Dictionary<string, string> ListAll()
{
Args = "config -l";
if (string.IsNullOrEmpty(WorkingDirectory))
Args = "config --global -l";
else
Args = "config -l";
var output = ReadToEnd();
var rs = new Dictionary<string, string>();