Is there a way to include the branch/commit id in the source, so it changes automatically?
in rcs there is the $Id:$ tags, which gets expanded, and can be used as text strings:
$VERS = '$Id: prog.php,v 1.8 2016/01/07 14:14:48 root Exp root $';
and the Log:
/*
* $Log: pos.php,v $
* Revision 1.8 2016/01/07 14:14:48 root
* Beep for opening drawer
*
* Revision 1.2.1.1 2011/12/23 09:06:16 root
* Log
*
*/
I'd like the enduser to be able to see the version/build etc info.