]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Support upstream branch name containing /
authorSimon Glass <sjg@chromium.org>
Mon, 30 Oct 2023 17:22:30 +0000 (10:22 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 3 Nov 2023 02:38:01 +0000 (22:38 -0400)
commita44cb1f2402a7f20f68e245bd37d6bdfe34e70f2
tree94a9ed7f6c3803476280bc5e6bd16cdef11d24c5
parentbe6a249b417fb159db6fc3f4b7d72eb2fd036554
buildman: Support upstream branch name containing /

Buildman assumes that branch names do not have a slash in them, since
slash is used to delimit remotes, etc. This means that a branch called
'WIP/tryme' in remote dm ends up being 'tryme'.

Adjust the logic a little, to try to accommodate this.

For now, no tests are added for this behaviour.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/patman/gitutil.py