From b8932ba3c6a17a5583a69de1bfc14ffa5216932b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 16 Jan 2017 15:22:20 +0300 Subject: branch_eol_normalized: bugfix --- %HOME%/.bash_utils/git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '%HOME%') diff --git a/%HOME%/.bash_utils/git.sh b/%HOME%/.bash_utils/git.sh index 456f29e..c557607 100644 --- a/%HOME%/.bash_utils/git.sh +++ b/%HOME%/.bash_utils/git.sh @@ -41,7 +41,7 @@ branch_eol_normalized() ( fi local path - if ! path="$( expr "$line" : $'.*\t\\(.*\\)' )"; then + if ! path="$( expr "$line" : $'[^\t]*\t\\(.*\\)' )"; then echo "${FUNCNAME[0]}: couldn't extract file path from: $line" >&2 return 1 fi -- cgit v1.2.3