From 459835d535d34db86beff3ae30a8065cb53584a3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 9 Mar 2026 15:17:52 +0100 Subject: [PATCH] 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. --- scripts/git-show-backports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"