Skip to content

Commit

Permalink
Fixing check-eol alias
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoziol committed Sep 23, 2018
1 parent 36b661c commit ec6dc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ec6dc82

Please sign in to comment.