diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-04-21 09:11:09 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-04-24 10:23:12 +0200 |
commit | be2fda7a60f31f8244300775a2ae2d25e733ac6e (patch) | |
tree | 5b4532837731a6b644502d9a08fd3c84c3fac7aa | |
parent | 9bf25bbf6f75970b3d8c3d9468452d1221f4bb21 (diff) | |
download | pw-be2fda7a60f31f8244300775a2ae2d25e733ac6e.tar.gz |
pw-pull: Match on conflicts in more lines
I'm not sure what changed, maybe the new git version (2.38.1)
but the "conflicts" line is now 6th instead of 5th, so it's
no longer caught. Give use more lines, we just want to avoid
matching on the entire output, because some files may be called
"conflicts"...
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rwxr-xr-x | pw-pull | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ fi git pull --stat --log --no-edit --no-ff $pull_url if [ $? -ne 0 ]; then bold "Waiting for conflict resolution..." - while git status | head -5 | grep "conflicts" >/dev/null; do + while git status | head -9 | grep "conflicts" >/dev/null; do sleep 0.25 done fi |