Skip to content
  • Simon Glass's avatar
    buildman: Try to guess the upstream commit · 2a9e2c6a
    Simon Glass authored
    
    
    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>
    2a9e2c6a