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 directory is managed
by git than this?
A less hacky patch was posted by Giuseppe Scrivano in
<http://lists.gnu.org/archive/html/bug-gnulib/2010-05/msg00090.html>.
I don't know why that patch was not applied. But I'm not a git expert,
I cannot judge it.
I think it just fell through the cracks, it's a good patch.
Paolo