From ec6dc8267ada1578e8c168ff6bb59e5b10781865 Mon Sep 17 00:00:00 2001 From: Krzysztof Koziol Date: Mon, 24 Sep 2018 00:11:58 +0200 Subject: [PATCH] Fixing check-eol alias --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 47252d1..3fc503d 100644 --- a/config +++ b/config @@ -112,7 +112,7 @@ # Check if any file in repo has windows line endings #Currently do not work as alias, works from comand line directly. There is a problem with \r - #check-eol = grep -I --files-with-matches --cached $'\r' HEAD + check-eol = !git grep --files-with-matches $'\\r' HEAD #Jira tickets (from: http://blogs.atlassian.com/2014/08/whats-new-git-2-1/) issues = "!f() { : git log ; echo 'Printing issue keys'; git log --oneline $@ | egrep -o [A-Z]+-[0-9]+ | sort | uniq; }; f"