Skip to content

v4.19.3: Fix git prompt errors on unborn branches

Choose a tag to compare

@edouard-lopez edouard-lopez released this 20 Nov 19:02
· 8 commits to master since this release

Fix git prompt errors on unborn branches

When the current branch has no commit yet but tracks an upstream that has commits (e.g. cloning an empty repository, then fetching after someone pushed), Pure no longer checks pending commits. Previously, git rev-list HEAD...@{upstream} failed and the prompt printed Invalid number errors on every render.

👍 First Contribution

Full Changelog: v4.19.2...v4.19.3