From 51fadfde9d775cd81af801e14cb08fcd8d686dbc Mon Sep 17 00:00:00 2001 From: lindexi Date: Tue, 4 Jun 2024 19:20:25 +0800 Subject: [PATCH] Using simpler git command to get current commit --- src/GitInfo/build/GitInfo.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GitInfo/build/GitInfo.targets b/src/GitInfo/build/GitInfo.targets index 6cac151..075121c 100644 --- a/src/GitInfo/build/GitInfo.targets +++ b/src/GitInfo/build/GitInfo.targets @@ -496,7 +496,7 @@ DependsOnTargets="_GitRoot" Condition="'$(GitRoot)' != '' And '$(GitCommit)' == ''"> - $(GitDefaultCommit) -