diff options
author | Chris Down | 2009-08-10 15:14:29 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-08-11 17:09:35 +0100 |
commit | bb64906a9cc891d9cc439bd2eda6ebf726364ca0 (patch) | |
tree | fa101451ab1a72ee2a520f4a69f7098e18d612c4 /.gitignore | |
parent | re-enable just TestReplicateArchivePathToUserInventory() for now to find out ... (diff) | |
download | opensim-SC-bb64906a9cc891d9cc439bd2eda6ebf726364ca0.zip opensim-SC-bb64906a9cc891d9cc439bd2eda6ebf726364ca0.tar.gz opensim-SC-bb64906a9cc891d9cc439bd2eda6ebf726364ca0.tar.bz2 opensim-SC-bb64906a9cc891d9cc439bd2eda6ebf726364ca0.tar.xz |
Enable the console show version command and the viewer about command, to show the last git commit hash together with the conmit date and time. The data is retrieved form a file bin/.version This file can be generated automatically using the post commit script by adding the following to the script:
git log -n 1 --pretty="format:%h: %ci" > bin/.version
This command can also be run manually to create the bin/.version file.
This command genrates a short form of the commit hash and a date and time of the commit in ISO8601 format.
If a full commit hash is required then change %h to %H
The logic that is used to extract the deprecated svn revision is still included.
It will be removed at a future date
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,3 +43,4 @@ OpenSim/OpenSim.usertasks | |||
43 | TAGS | 43 | TAGS |
44 | *~ | 44 | *~ |
45 | Makefile.local | 45 | Makefile.local |
46 | bin/.version | ||