From a6c46c3edfdd93529e9702361f2e28c21eb8c982 Mon Sep 17 00:00:00 2001 From: Max Bucknell Date: Wed, 14 Mar 2018 12:02:50 +0000 Subject: [PATCH] update git config --- bin/max-git-log | 2 +- git/gitconfig.symlink | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/max-git-log b/bin/max-git-log index abf1603..9d0f444 100755 --- a/bin/max-git-log +++ b/bin/max-git-log @@ -31,7 +31,7 @@ ANSI_CYAN='\033[36m' ANSI_WHITE='\033[37m' ANSI_RESET='\033[0m' -git log --graph --pretty="tformat:${FORMAT}" $* | +git log --color=always --graph --pretty="tformat:${FORMAT}" $* | # Replace (2 years ago) with (2 years) sed -Ee 's/(^[^<]*) ago\)/\1)/' | # Replace (2 years, 5 months) with (2 years) diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 53f03b5..17501a3 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -23,6 +23,7 @@ current-branch = rev-parse --abbrev-ref HEAD cl = clone ll = !max-git-log + whodunnit = blame [color] ui = auto