summaryrefslogtreecommitdiffstats
path: root/tools/buildman/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-01 17:33:54 -0700
committerSimon Glass <sjg@chromium.org>2015-01-14 21:16:52 -0800
commit2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5 (patch)
treee924ed1920811a80eba92fe066cf6ae0a1ac8a03 /tools/buildman/README
parent1a915675104771e8afea399a62778c598289775f (diff)
downloadtalos-obmc-uboot-2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5.tar.gz
talos-obmc-uboot-2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5.zip
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/README')
-rw-r--r--tools/buildman/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/buildman/README b/tools/buildman/README
index 0f8ea200f5..8e7a68c34f 100644
--- a/tools/buildman/README
+++ b/tools/buildman/README
@@ -310,8 +310,9 @@ branch with a valid upstream)
$ ./tools/buildman/buildman -b <branch> -n
If it can't detect the upstream branch, try checking out the branch, and
-doing something like 'git branch --set-upstream <branch> upstream/master'
-or something similar.
+doing something like 'git branch --set-upstream-to upstream/master'
+or something similar. Buildman will try to guess a suitable upstream branch
+if it can't find one (you will see a message like" Guessing upstream as ...).
As an example:
OpenPOWER on IntegriCloud