author | Tay Ray Chuan <rctay89@gmail.com> | |
Wed, 12 May 2010 03:29:20 +0000 (11:29 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 12 May 2010 06:04:23 +0000 (23:04 -0700) | ||
commit | 3368edd4cda6306d524e10758e2c5a187dcd4ba6 | |
tree | ab83b5dd880a53495065e395086c134379f16276 | tree | snapshot |
parent | 87a074df2455f305df8facc22e85dac1cfeb0d6b | commit | diff |
GIT-VERSION-GEN: restrict tags used
Restrict the tags used to generate the version string to those that
begin with "v", since git's tags for git-core (ie. excluding git-gui)
are all of the form "vX.Y...".
This is to avoid using private tags by the user in a clone of the git
code repository, which may break certain machinery (eg. Makefile, gitk).
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Restrict the tags used to generate the version string to those that
begin with "v", since git's tags for git-core (ie. excluding git-gui)
are all of the form "vX.Y...".
This is to avoid using private tags by the user in a clone of the git
code repository, which may break certain machinery (eg. Makefile, gitk).
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GIT-VERSION-GEN | diff | blob | history |