Re: [PATCH 7/7] libposix: use git-version-gen for version numbering

2010-10-13 Thread Paolo Bonzini
On 10/12/2010 11:20 PM, Bruno Haible wrote: Gary V. Vaughan wrote: git-version-gen itself relies on the presence of .git in the current directory. I've made a quick and dirty patch to it here to also look in the parent directory... but surely there's a nicer way to determine whether the current

Re: [PATCH 7/7] libposix: use git-version-gen for version numbering

2010-10-13 Thread Gary V. Vaughan
Hallo Bruno, Thanks again for the speedy and thoughtful feedback on this patch series. I'm sorry that I won't have the time to actually apply any of your good advice for at least a couple of weeks, but whatever is still outstanding when I next have discretionary hacking time, I'll apply, retest a

Re: [PATCH 7/7] libposix: use git-version-gen for version numbering

2010-10-12 Thread Bruno Haible
Gary V. Vaughan wrote: > git-version-gen itself relies on the presence of .git in the > current directory. I've made a quick and dirty patch to it > here to also look in the parent directory... but surely there's > a nicer way to determine whether the current directory is managed > by git than thi

[PATCH 7/7] libposix: use git-version-gen for version numbering

2010-10-12 Thread Gary V. Vaughan
Might as well use the existing git-version-gen mechanism to get git based unique version strings for libposix. However, git-version-gen itself relies on the presence of .git in the current directory. I've made a quick and dirty patch to it here to also look in the parent directory... but surely t