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
If you have changed the default branch name on your computer, as git init now suggests, all nbgitpuller tests fail.
How to reproduce
# The following fails:
git config --global init.defaultBranch main
python -m pytest tests/test_gitpuller.py
# This works again:
git config --global init.defaultBranch master
python -m pytest tests/test_gitpuller.py
I think this is because repohelpers.py hardcodes the master branch name, but when creating test repos doesn't specify a name. I'll look into it next week, it should not be too hard.
The text was updated successfully, but these errors were encountered:
Bug description
If you have changed the default branch name on your computer, as
git init
now suggests, all nbgitpuller tests fail.How to reproduce
I think this is because
repohelpers.py
hardcodes the master branch name, but when creating test repos doesn't specify a name. I'll look into it next week, it should not be too hard.The text was updated successfully, but these errors were encountered: