Reputation: 1035
Hi after installing flutter on our CI-Server I got the following message:
...
[Setup Flutter Android] [✓] Flutter (Channel beta, v0.0.0-unknown, on Linux, locale en_US)
...
had some already the same issue?
Upvotes: 1
Views: 1964
Reputation: 341
I also had this problem on CentOS. It turns out that the default git installed in CentOs is too out-of-dated.
Please try upgrading git to the latest version on CentOS by following this answer link and then run flutter doctor
again
Upvotes: 2
Reputation: 11
I've encountered this problem on CentOS 7. This comment on github explains it.
It happens with git versions before v1.8.4 because of "git describe --first-parent" not being implemented in older versions. As for CentOS 7, newest git version that you can get using yum is unfortunately v1.8.3.1.
TL;DR use something like ius to get a newer git version.
Upvotes: 1