code_review: PR #946

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-02-06 13:07:58 +08:00
parent 9aba737d9e
commit 38a8490d16
No known key found for this signature in database
5 changed files with 316 additions and 291 deletions

View file

@ -24,7 +24,7 @@ namespace SourceGit.Commands
Context = repo;
var based = string.IsNullOrEmpty(start) ? "-R" : start;
Args = $"diff --name-status {based} {end} -- {path}";
Args = $"diff --name-status {based} {end} -- \"{path}\"";
}
public List<Models.Change> Result()