From 046a20feeea34e367c88de4a53272ed965931646 Mon Sep 17 00:00:00 2001 From: Gadfly Date: Wed, 30 Oct 2024 18:44:05 +0800 Subject: [PATCH] fix: query file size quote filename Signed-off-by: Gadfly --- src/Commands/QueryFileSize.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/QueryFileSize.cs b/src/Commands/QueryFileSize.cs index c36984dd..9016d826 100644 --- a/src/Commands/QueryFileSize.cs +++ b/src/Commands/QueryFileSize.cs @@ -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()