make gerrit-bot pass the branch name to sanitize-commit
guessing the target branch with the help of git-merge-base is unreliable
when the user does a cross-branch push or the commit has simply an old
base. therefore, explicitly pass in the branch if we already know it,
which is the case on the server.
Fixes: QTQAINFRA-3322
Started-by: Daniel Smith <daniel.smith@qt.io>
Change-Id: I5fd1e827b9e169f4aa2eb3590bc4f252037d6ba0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>