Re: revision control info in generated files

2010-04-01 Thread Ralf Wildenhues
* Jef Driesen wrote on Thu, Apr 01, 2010 at 02:34:29PM CEST: > On 31/03/10 22:45, Ralf Wildenhues wrote: > >* Jef Driesen wrote on Wed, Mar 31, 2010 at 02:49:48PM CEST: > >>Shouldn't the .git-version file be created inside the build directory, > >>rather than the source directory? > > > >No. I wan

Re: revision control info in generated files

2010-04-01 Thread Jef Driesen
On 31/03/10 22:45, Ralf Wildenhues wrote: * Jef Driesen wrote on Wed, Mar 31, 2010 at 02:49:48PM CEST: Sure. I use both git and subversion, and this are the commands I would use to retrieve the revision info: git rev-parse --quiet --verify HEAD svnversion The svnversion command is a little tri