Skip to content

Commit

Permalink
CommandLog: Number scaling for duration
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardol committed Dec 17, 2018
1 parent 837ee11 commit 568ffb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GitCommands/Logging/CommandLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public string ColumnLine
{
var duration = Duration == null
? "running"
: $"{((TimeSpan)Duration).TotalMilliseconds:0}ms";
: $"{((TimeSpan)Duration).TotalMilliseconds:0,0} ms";

var fileName = FileName;

Expand All @@ -87,7 +87,7 @@ public string ColumnLine
var pid = ProcessId == null ? "" : $"{ProcessId}";
var exit = ExitCode == null ? "" : $"{ExitCode}";

return $"{StartedAt:HH:mm:ss.fff} {duration,7} {pid,5} {(IsOnMainThread ? "UI" : " ")} {exit,2} {fileName} {Arguments}";
return $"{StartedAt:HH:mm:ss.fff} {duration,9} {pid,5} {(IsOnMainThread ? "UI" : " ")} {exit,2} {fileName} {Arguments}";
}
}

Expand Down

0 comments on commit 568ffb8

Please sign in to comment.