We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
znap pull fails when a plugin repo has a default branch that has '/' in its name.
1. znap source 'ealap/zsh-abbr' # default branch is 'dev/ealap/main' 2. znap pull
znap pull can successfully update the plugin
An error occurs.
ealap/zsh-abbr couldn't find remote ref dev no upstream
It seems to be only using the string before the first '/'
A quick scan of the code tells me the problem likely comes from here but I don't understand it fully yet. https://github.com/marlonrichert/zsh-snap/blame/f8685ea5933335ea4cbd54780ace16ef85c346bd/functions/..znap.fetch#L12
Workaround for me now is to just use a simple branch name as default for my forked repos.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
znap pull fails when a plugin repo has a default branch that has '/' in its name.
Steps To Reproduce
Expected behavior
znap pull can successfully update the plugin
Observed behavior
An error occurs.
It seems to be only using the string before the first '/'
Environment:
Additional context
A quick scan of the code tells me the problem likely comes from here but I don't understand it fully yet.
https://github.com/marlonrichert/zsh-snap/blame/f8685ea5933335ea4cbd54780ace16ef85c346bd/functions/..znap.fetch#L12
Workaround for me now is to just use a simple branch name as default for my forked repos.
The text was updated successfully, but these errors were encountered: