buildscript: fix fetch step #153

Closed
fbl wants to merge 1 commits from fbl:fetch into master

1 Commits

Author SHA1 Message Date
Fabian Bläse b212c08272 buildscript: fix fetch step
git pull combines two steps: fetch and merge. When checking out
another revision into an existing build directory, git pull tries to merge
the changes from the new revision into the current HEAD, before checking
out the new revision with git checkout. Because we apply various patches
to OpenWrt, the merge step almost certainly fails, so the new revision
is not checked out.

As the merge isn't needed anyway, use git fetch instead, which only
fetches updates from the remote without actually applying them.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
2021-07-09 17:42:39 +02:00