On Tue, Jul 07, 2020 at 12:42:14PM +0100, Richard Purdie wrote:
...What about making the git fetcher default to nobranch instead
Using a branch name made sense back in the days when projects were not
deleting branches used downstream.
Having a default branch set in the git fetcher made sense back in the
days when there was agreement on the name of a development branch.
A branch in SRC_URI is just an optional automatic check that the commit
used is on that branch, it is not necessary.
BTW: In most cases a better check would be implementing #13303.