Closed Fohlen closed 9 years ago
Hash version not really informative,
git clone --depth 1 https://github.com/vasyahuyasa/remod-sauerbraten.git
cd remod-sauerbraten
git rev-list --count HEAD
1
You did not think about your comment.
git rev-list --count HEAD
will count all commits from HEAD on. If you clone with --depth 1 this logically results in 1 commit. Hash sum is pretty informative because it is easy to find in Git/Github
Updated the REMOD_VERSION flag to show correct info from git. Alternativly we could use
to retrieve the current "commit number", although it is prefferable to use the commit hash. Using info command from IRC/ingame works fine again :+1: