sync
subcommand with --pull
does not support negative refspecs
#1444
Labels
bug
Something isn't working
sync
subcommand with --pull
does not support negative refspecs
#1444
Description of the bug
Git v2.29.0 supports negative refspecs to allow filtering which refspecs to ignore.
It seems like
git branchless sync --pull
does not currently respect this and will cause panics if a negative refspec is specified in the git config.Example git config specifying a negative refspec for any branches with an underscore prefix
Expected behavior
When running
git branchless sync --pull
, I expect all refs to be fetched from the remote following all git refspec rules (i.e. all refs which match postive refspecs and do not match any negative refspecs), and all local refs to be updated.Actual behavior
A panic:
Version of
rustc
No response
Automated bug report
No response
Version of
git-branchless
git-branchless-opts 0.10.0
Version of
git
git version 2.44.0
The text was updated successfully, but these errors were encountered: