You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "sjanc (via GitHub)" <gi...@apache.org> on 2026/10/16 09:16:59 UTC

[PR] ci: Check out mcuboot main as detached HEAD [mynewt-core]

sjanc opened a new pull request, #3789:
URL: https://github.com/apache/mynewt-core/pull/3789

   Jobs testing with mcuboot main branch failed with:
   
    ! [rejected] main       -> main  (non-fast-forward)
   
   Since repositories are restored from cache, mcuboot local main branch points to upstream main from the time cache was created. Repository is shallow, so after upstream main moved forward git cannot verify that update of local branch is fast-forward and rejects it.
   
   Fetch main and check out FETCH_HEAD as detached HEAD instead, so that state of local branches stored in cache does not matter. Fetch with depth 1, as otherwise whole history would be downloaded if commit restored from cache is not an ancestor of upstream main.
   
   Assisted-by: Claude:claude-opus-5-5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ci: Check out mcuboot main as detached HEAD [mynewt-core]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #3789:
URL: https://github.com/apache/mynewt-core/pull/3789


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org