From f5584eeb0fd46a4cf39b66e1bc8c4afef840c7e5 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Thu, 29 Aug 2024 15:35:33 +0200 Subject: [PATCH] DiffEditor: Make description body color similar to log By using the same format as in normalLogArguments(), split into subject and body. Before, the whole body was painted in the subject color. Change-Id: I8b73bcaf5ec0a1bf77209e6aaafc6e2adcbad295 Reviewed-by: Orgad Shaneh --- 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 3e4796b81b2..87d4399258a 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -401,7 +401,7 @@ ShowController::ShowController(IDocument *document, const QString &id) "commit %C(%1)%H%Creset %C(%2)%d%Creset%n" "Author: %C(%3)%aN <%aE>%Creset, %C(%4)%ad (%ar)%Creset%n" "Committer: %C(%3)%cN <%cE>%Creset, %C(%4)%cd (%cr)%Creset%n" - "%n%C(%5)%B%Creset" + "%n%C(%5)%s%Creset%n%n%b" ).arg(commitHash, decoration, authorName, commitDate, commitSubject); setupCommand(process, {"show", "-s", colorOption, showFormat, id}); VcsOutputWindow::appendCommand(process.workingDirectory(), process.commandLine());