-
- Downloads
add a wrapper script using ttq with git push-options (MR 2)
It's possible to push to a branch and open an MR with a single command
on GitLab with
git push -o merge_request.create
One can also adjust the MR title and description with
merge_request.title="beep"
merge_request.description="boop"
However, it isn't possible to include newline literals in git push
options. As a workaround GitLab will automatically convert all '\n'
literals into newlines.
To enable using this with TTQ, add a simple wrapper script which runs
TTQ through awk to convert all newline literals into '\n'.
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>