diff options
-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 |