From f304a3482a9749729ed96a1b8cc6023a2eea897f Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 21 Jan 2024 12:07:08 +0100 Subject: [PATCH] rc tools git: remove time from blame annotations It doesn't seem very useful information, the date should usually be enough for this overview. No strong opinion though. We can definitely make it configurable. Other tools like Tig show minute-precision and the author timezone. --- rc/tools/git.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/git.kak b/rc/tools/git.kak index 798fd97d6c..074e625710 100644 --- a/rc/tools/git.kak +++ b/rc/tools/git.kak @@ -188,7 +188,7 @@ define-command -params 1.. \ $count = $4; } if (m/^author /) { $authors{$sha} = substr($_,7) } - if (m/^author-time ([0-9]*)/) { $dates{$sha} = strftime("%F %T", localtime $1) } + if (m/^author-time ([0-9]*)/) { $dates{$sha} = strftime("%F", localtime $1) } END { send_flags(1); }' ) > /dev/null 2>&1 < /dev/null & }