microsoft/scalar

Git version parser can't parse Apple-Git

derrickstolee opened this issue · 2 comments

If the PATH doesn't include /usr/local/bin, then we end up finding Apple's version of Git and report this warning:

Warning: unable to detect Git features: Unable to determine installed git version. git version 2.21.1 (Apple Git-122.3)

Let's make sure we can parse this, at least a little bit, and report this as "2.21.1".

Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.

Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.