SCRIPTS: git-show-backports: make -m most only show the left branch
authorWilly Tarreau <w@1wt.eu>
Fri, 31 Jul 2020 14:38:57 +0000 (16:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Aug 2020 09:34:18 +0000 (11:34 +0200)
commit7bc57c2e31b63a42cebd6ba28fed4544f1df2fd2
tree152dcb5cc59fe9e5c2d2e9bab016478971db954a
parent2141dc2298bbeede9c8021dc7a1d99789f35fea6
SCRIPTS: git-show-backports: make -m most only show the left branch

We've never used the output of the rightmost branch with this tool,
and it systematically causes two identical outputs making the job
harder during backport sessions. Let's simply remove the right part
when it's identical to the left one. This also adds a few line feeds
to make the output more readable.

(cherry picked from commit f456f6f2a36f0e2ce82ef80819974cb9dc8b4e86)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 2a53511500609a57c40bf0a33219954d45d6a31d)
Signed-off-by: Willy Tarreau <w@1wt.eu>
scripts/git-show-backports