commit e85a9bd53172970192387afe8c38c6c3e2aada11
parent 9d947b12ff324366e15c8a7a0d3fb95dda064cc4
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 15 Jun 2020 12:46:09 -0700
git log: use absolute rather than relative dates
%ci uses an ISO 8601-like format for commit date rather than a relative
date (2 days ago). Most of the time I'm interested in the exact date and
time of a commit, not "roughly how long ago was this".
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitconfig b/.gitconfig
@@ -1,5 +1,5 @@
[alias]
- lol = log --pretty=format:'%C(yellow)%h%C(reset) %C(green)%cr%C(reset) %C(blue)%an%C(reset) %C(yellow)%d%C(reset) %s'
+ lol = log --pretty=format:'%C(yellow)%h%C(reset) %C(green)%ci%C(reset) %C(blue)%an%C(reset) %C(yellow)%d%C(reset) %s'
logstats = log --pretty=format:'%C(yellow)%h%C(reset) %C(green)%cr%C(reset) %C(blue)%an%C(reset): %s' --stat
vimdiff = difftool
[color]