From fd94e16d1214121408fdcf10066ad7768f1a4cef Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 21 Jul 2020 19:29:13 +0200 Subject: [PATCH] Silence zenity errors in git-push-pending output --- bin/git-push-pending | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-push-pending b/bin/git-push-pending index 450870a..e830c91 100755 --- a/bin/git-push-pending +++ b/bin/git-push-pending @@ -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'