diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-01-16 15:22:20 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-01-16 15:22:20 +0300 |
commit | b8932ba3c6a17a5583a69de1bfc14ffa5216932b (patch) | |
tree | e73da46251ab5c74133c3b43cb5e1ff0eec91f02 /%HOME% | |
parent | code style (diff) | |
download | linux-home-b8932ba3c6a17a5583a69de1bfc14ffa5216932b.tar.gz linux-home-b8932ba3c6a17a5583a69de1bfc14ffa5216932b.zip |
branch_eol_normalized: bugfix
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.bash_utils/git.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |