fix: query file size quote filename (#629)

Signed-off-by: Gadfly <gadfly@gadfly.vip>
This commit is contained in:
GadflyFang 2024-10-30 18:48:41 +08:00 committed by GitHub
parent 9816a5e8ba
commit cffcf3448e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ namespace SourceGit.Commands
{
WorkingDirectory = repo;
Context = repo;
Args = $"ls-tree {revision} -l -- {file}";
Args = $"ls-tree {revision} -l -- \"{file}\"";
}
public long Result()