diff --git a/misc/tools/conflict-watch.sh b/misc/tools/conflict-watch.sh index d20d44e..4779aa8 100755 --- a/misc/tools/conflict-watch.sh +++ b/misc/tools/conflict-watch.sh @@ -155,7 +155,7 @@ case "$action" in ) ) if [ -n "$out" ]; then - b=${REFNAME#refs/remotes/[^/]*/} + b=${REFNAME#refs/remotes/[!/]*/} case "$b" in */*) n=${b%%/*}