From f46030e549358cea6d92d3a599ac4e610a6be847 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sat, 7 Jan 2023 15:39:52 -0800 Subject: [PATCH] log: remove redundant "timestamp" label from default template We now already have the "timestamp" label from the auto-labeling of method calls. Without the use of the "email" label in the previous commit, we would now emit an unnecessary color code when the "author" label is added but before the "timestamp" is added. So that patch wasn't just about simplifiying the config :) --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index c5945f6a9..92543968d 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -1561,7 +1561,7 @@ fn log_template(settings: &UserSettings) -> String { change_id.short() if(divergent, label("divergent", " divergent")) " " author.email() - " " label("timestamp", {committer_timestamp}) + " " {committer_timestamp} if(branches, " " branches) if(tags, " " tags) if(working_copies, " " working_copies)