git-machete
git-machete copied to clipboard
`git rev-parse --short ...^{commit} returned 128`
As reported by @mkondratek:
mkondratek@VL-D-1096 git-machete-intellij-plugin % git machete s
git rev-parse --short 0958ae8b40cfcdd991af5fa08709011c43344f51^{commit} returned 128
stderr:
fatal: Needed a single revision
TBD if it's corrupted git repo, or a bug on our side
Rel https://github.com/VirtusLab/git-machete-intellij-plugin/issues/1029
Oh! a commit recorded as whileDescendentOf in fork point override no longer exists:
machete.overrideForkPoint.chore/drop-support-for-2021.1.whiledescendantof=0958ae8b40cfcdd991af5fa08709011c43344f51
This is surprising, I thought there's a proper validation for these values... anyway, for a workaround @mkondratek, just run
git machete fork-point --unset-override chore/drop-support-for-2021.1
Note that #611 suggests removal of this config key... let's check however, if the same problem occurs with to config key