In nightly builds, only do git fetch for projects which use a branch
In nightly, we currently set fetch: 1
globally, which mean do a git fetch
for all projects, including those which don't use a branch (and for which a git fetch
is useless).
Since there is only a small number of projects where we use a branch, I think we could set fetch: 1
for those projects only.