-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
To recreate:
- Create a new plugin repo, with both
mainandmasterbranches. Makemasterthe default - Push an older version of the plugin to
main, and a newer version tomaster(i.e. so that the older version does not exist on the commit history ofmain) - Point your
whippet.jsonfile at that repo (with no specific reference beyond the repo source) - Run
whippet deps update. Whippet will take the commit hash reference added towhippet.lockfrommain, but try and pull the plugin frommaster, using that reference. This will result in afatal: reference is not a tree: [commit-hash-from-master]error when runningwhippet deps installorwhippet deps update
It appears that, if main exists, Whippet assumes it's the default branch, but that may not actually be the case. It should probably just use the default branch at all times, and allow that default branch to be either main or master.
Reactions are currently unavailable