diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-01 17:33:54 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-14 21:16:52 -0800 |
commit | 2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5 (patch) | |
tree | e924ed1920811a80eba92fe066cf6ae0a1ac8a03 /tools/buildman/builder.py | |
parent | 1a915675104771e8afea399a62778c598289775f (diff) | |
download | u-boot-imx-2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5.zip u-boot-imx-2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5.tar.gz u-boot-imx-2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5.tar.bz2 |
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: Simon Glass <sjg@chromium.org>
Suggested-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools/buildman/builder.py')
0 files changed, 0 insertions, 0 deletions