Submitted by: cazfi
Submitted on: Sun 26 Jan 2014 12:40:51 AM EET
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Discussion Lock: Any
Planned Release: 2.5.0, 2.6.0
Add configure option --enable-gitrev, equivalent to --enable-svnrev. If
freeciv sources to be built happen to be in git repository, enabling this
option adds commit id to version numbers.
This initial version is straightforward copy of --enable-svnrev
implementation. As git commit id is rather long string, there's certainly need
to adjust this feature in future tickets, not to print full string where it
There's no plan to switch freeciv project to git (freeciv-web part is already
in github). This patch exist for two reasons:
1) It opens the option to switch to git in the future. This feature should be
in all branches active at the time of the switch to mimimize feature
2) More importantly, many people already use git-svn for freeciv development
(not limited to freeciv project itself, but to external projects too).
--enable-gitrev feature will be available for them already.
It seems to me that there's not much risk in including this to S2_5, but
rather makes sure it's not later found out to be needed but not present there.
Date: Sun 26 Jan 2014 12:40:51 AM EET Name: GitRev.patch Size: 7kB By:
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list