This patch adds and invokes a script that will decorate the patch version string of development builds with the output from git describe --tags so that it includes the exact version of the code currently checked out.
This is something I often miss when looking at the version info in software installed from a development (git) snapshot, and I think should be useful in bug reports too.
The script returns the unchanged patch version if there is no .git directory, so this should be safe in release builds.
I'm not doing anything to the version reported for KDevPlatform; as far as I can tell this needs to be a purely numerical 3-level string.