Code

Teach GIT-VERSION-GEN about the .git file
authorLars Hjemli <hjemli@gmail.com>
Wed, 20 Feb 2008 22:13:16 +0000 (23:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:22:50 +0000 (01:22 -0700)
commitc48799e560c826905e87c8a8a71effeb0ca5e897
tree663eebf6e0a35413fb94a261f0564239d15243c9
parentba88a1fee476a7895634beb9f33faf7e7b7908af
Teach GIT-VERSION-GEN about the .git file

The presence of a .git directory used to be good enough evidence that
GIT-VERSION-GEN could use 'git describe' to get a version number. But
now .git might as well be a file so the test must be extended to cater for
such setups.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GIT-VERSION-GEN