You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the above operation, paq.log contains the following:
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
It seems that git pull --recurse-submodules --update-shallow is failing because the repo is in a detached state, since the tag isn't backed by a branch. I'm not an expert, but I can imagine two solutions:
Check if a tag is checked out and skip updating (i.e. consider the tag to be frozen, as if it pointed at a specific commit)
Add --tags --force to the pull command (this seems to be what mini.deps does here, and it successfully handles this case)
The text was updated successfully, but these errors were encountered:
Describe the bug
Running
:PaqUpdate
when a plugin'sbranch
points at a tag shows a message indicating that updating the plugin failed.To Reproduce
:PaqInstall
, which succeeds:PaqUpdate
Expected behavior
No error message is shown.
Environment:
nvim --version
: 0.10.3git --version
: 2.47.1Additional info
After the above operation,
paq.log
contains the following:It seems that
git pull --recurse-submodules --update-shallow
is failing because the repo is in a detached state, since the tag isn't backed by a branch. I'm not an expert, but I can imagine two solutions:--tags --force
to the pull command (this seems to be what mini.deps does here, and it successfully handles this case)The text was updated successfully, but these errors were encountered: