]> git.ipfire.org Git - thirdparty/haproxy.git/commit
SCRIPTS: backport: fix the master branch detection
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Feb 2020 07:26:49 +0000 (08:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Feb 2020 07:26:49 +0000 (08:26 +0100)
commitf9beea52da07687724374214c38932f6424de70d
tree106d4a688bab9863b2a04e56210c039d6aad1f32
parent3823408b6063c8955d22532903f96b40601f57ed
SCRIPTS: backport: fix the master branch detection

The condition was inverted. When the branch was the master, it was
harmless because it caused an extra "checkout master", but when it
was not the master, the commit could be applied to the wrong branch
and it could even possibly not match the name to stop on.
scripts/backport