From 0a2db285a97ed3f481d68878c7a6bd3192f15ca4 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Tue, 28 Jul 2020 09:39:30 +0300 Subject: [PATCH] git: ++cblame --- etc/soft/git/gitconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etc/soft/git/gitconfig b/etc/soft/git/gitconfig index 7195480..823b4a8 100644 --- a/etc/soft/git/gitconfig +++ b/etc/soft/git/gitconfig @@ -35,6 +35,12 @@ [gc] writeCommitGraph = true +[blame] + coloring = repeatedLines + +[color "blame"] + repeatedLines = yellow + # ----[ DIFF METHODS ]-------------------------------------------------------- [diff "plist"] @@ -77,6 +83,9 @@ # Исправление последнего коммита ca = commit --amend + # Blame с подсветкой синтаксиса + cblame = !git-cblame + # Список diff-методов для сохранения в .gitattributes diffs = "!grep '\\[diff \"' ~/.gitconfig | cut -d '\"' -f 2 | awk '{ print \"*.\" $0 \" diff=\" $0 }'"