Store Git commit identifier in its own object

Fixes #1640
This commit is contained in:
Deiz
2015-04-06 18:28:40 -04:00
parent 1546891e6a
commit cd4bc2adf5
5 changed files with 20 additions and 6 deletions

11
src/version.c Normal file
View File

@ -0,0 +1,11 @@
/*
* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
* © 2009-2015 Michael Stapelberg and contributors (see also: LICENSE)
*
* Stores the latest Git commit identifier so that it can be linked into i3
* and used dynamically without recompiling every object file.
*
*/
const char *i3_version = I3_VERSION;