From 86df204bad51e8bf3790ef570a8de76f4910321c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 5 Jul 2021 17:34:35 +0300 Subject: [PATCH] Git: Fix regression in log output on Windows Current path appeared instead of the committer date. This is probably due to the changes in handling commands. The command has %cD%Creset. %cD% is interpreted as current directory, unless escaped. Change-Id: Id564c338dc1f4d882e4449430000b7dcebdd7288 Reviewed-by: hjk --- src/plugins/git/gitclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 6c3896a9cc5..c9173666133 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -1085,7 +1085,7 @@ static QStringList normalLogArguments() "--pretty=format:" "commit %C(%1)%H%Creset %C(%2)%d%Creset%n" "Author: %C(%3)%an <%ae>%Creset%n" - "Date: %C(%4)%cD%Creset%n%n" + "Date: %C(%4)%cD %Creset%n%n" "%C(%5)%w(0,4,4)%s%Creset%n%n%b" ).arg(commitHash, decoration, authorName, commitDate, commitSubject);