vim-plug will now run git remote set-head origin -a on PlugUpdate to keep track of the default branch of the origin, so that it can still update even if the default branch has changed.
This additional command will slow down the update process, but this is the unavoidable price to pay for the correctness of the task. However, vim-plug will run checkout and merge commands in parallel, so this improvement will slightly offset the slowdown.
Fix #1005
vim-plug will now run
git remote set-head origin -a
on PlugUpdate to keep track of the default branch of the origin, so that it can still update even if the default branch has changed.This additional command will slow down the update process, but this is the unavoidable price to pay for the correctness of the task. However, vim-plug will run checkout and merge commands in parallel, so this improvement will slightly offset the slowdown.