From: Willy Tarreau Date: Mon, 9 Mar 2026 14:17:52 +0000 (+0100) Subject: SCRIPTS: git-show-backports: hide the common ancestor warning in quiet mode X-Git-Tag: v3.4-dev7~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=459835d535d34db86beff3ae30a8065cb53584a3;p=thirdparty%2Fhaproxy.git SCRIPTS: git-show-backports: hide the common ancestor warning in quiet mode It's annoying to always see that warning in quiet mode when backporting upstream to topic branches, let's hide it. --- diff --git a/scripts/git-show-backports b/scripts/git-show-backports index 9f0a3dfda..ce2f7c73d 100755 --- a/scripts/git-show-backports +++ b/scripts/git-show-backports @@ -255,7 +255,7 @@ if [ -z "$BASE" -a -n "$MISSING" ]; then fi if [ -z "$BASE" ]; then - err "Warning! No base specified, looking for common ancestor." + [ "$QUIET" != "" ] || err "Warning! No base specified, looking for common ancestor." BASE=$(git merge-base --all "$REF" "${BRANCHES[@]}") if [ -z "$BASE" ]; then die "Couldn't find a common ancestor between these branches"