mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-15 20:12:08 +01:00
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.
This commit is contained in:
parent
9b3345237a
commit
459835d535
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user