forked from qt-creator/qt-creator
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 <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
a94833de76
commit
f5584eeb0f
@@ -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());
|
||||
|
Reference in New Issue
Block a user