Skip to content
Snippets Groups Projects
Commit 2a9e2c6a authored by Simon Glass's avatar Simon Glass
Browse files

buildman: Try to guess the upstream commit


Buildman normally obtains the upstream commit by asking git. Provided that
the branch was created with 'git checkout -b <branch> <some_upstream>' then
this normally works.

When there is no upstream, we can try to guess one, by looking up through
the commits until we find a branch. Add a function to try this and print
a warning if buildman ends up relying on it.

Also update the documentation to match.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Suggested-by: default avatarWolfgang Denk <wd@denx.de>
parent 1a915675
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment