• Check out the relaunch of our general collection, with classic designs and new ones by our very own Pissog!

Done Add a command to print the current commit

Status
Not open for further replies.

Hydrametr0nice

Simulator Developer
is a Programmeris a Battle Simulator Moderator
As a developer, there have been times when I wanted to know the current commit of either the server or the client. Of course, one of the commits would have to be fetched from the server and the other determined on the client side. This would only work if the project is an actual Git repository. I'm not sure how feasible this would be, especially considering forks, but it would be a nice feature. It could display the commit ID or the commit URL, and the commit message, for both the client and the server.
 
Doing this for the client version, while not infeasible, is excessively annoying and not worth the effort / overhead it would entail. However, I've added this for the server version to /version.
 
Status
Not open for further replies.
Back
Top