From: Sean Whitton Date: Sun, 21 Jul 2019 10:35:38 +0000 (+0100) Subject: git-debpush: check_treesame: Also pass --quiet to 'git diff' X-Git-Tag: archive/debian/9.5~12 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=25575e4691087b6986fcb38973945762401c4b4b;p=dgit.git git-debpush: check_treesame: Also pass --quiet to 'git diff' Otherwise, when using git-debpush in a terminal, the user will get a pile of unwanted diff output each time check_treesame is called. Signed-off-by: Sean Whitton --- diff --git a/git-debpush b/git-debpush index beb24fbf..31537511 100755 --- a/git-debpush +++ b/git-debpush @@ -105,7 +105,7 @@ check_treesame () { shift 2 set +e - git diff --exit-code "$first".."$second" -- . "$@" + git diff --quiet --exit-code "$first".."$second" -- . "$@" git_diff_rc=$? set -e