Silence zenity errors in git-push-pending output

This commit is contained in:
Talia 2020-07-21 19:29:13 +02:00
parent ec7d369b6e
commit fd94e16d12

View file

@ -4,6 +4,6 @@
| xargs git-pending \
| grep '^ahead' \
| lua -e 'for line in io.lines() do print(line:match("[^/]+$")); print((line:gsub("^[^ ]* ", ""))) end' \
| zenity --list --column Repository --column Path --text "Repositories that need pushing:" --multiple --title "Git" --separator ';' --width 800 --height 300 --print-column=2 \
| zenity --list --column Repository --column Path --text "Repositories that need pushing:" --multiple --title "Git" --separator ';' --width 800 --height 300 --print-column=2 2>/dev/null \
| tr ';' '\n' \
| xargs -L 1 -I€ sh -c 'cd € && git push'