Mercurial > gnulib
diff build-aux/git-version-gen @ 15511:52b887a92a8c
git-version-gen: correct the advice in a comment
* build-aux/git-version-gen: Correct comment.
Don't recommend to list .tarball-version in .gitignore.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 11 Aug 2011 14:16:35 +0200 |
parents | b54bff314db1 |
children | 0da13ca4fc80 |
line wrap: on
line diff
--- a/build-aux/git-version-gen Wed Aug 10 12:36:13 2011 -0700 +++ b/build-aux/git-version-gen Thu Aug 11 14:16:35 2011 +0200 @@ -1,6 +1,6 @@ #!/bin/sh # Print a version string. -scriptversion=2011-07-31.12; # UTC +scriptversion=2011-08-11.12; # UTC # Copyright (C) 2007-2011 Free Software Foundation, Inc. # @@ -44,8 +44,10 @@ # files to pick up a version string change; and leave it stale to # minimize rebuild time after unrelated changes to configure sources. # -# It is probably wise to add these two files to .gitignore, so that you -# don't accidentally commit either generated file. +# As with any generated file in a VC'd directory, you should add +# /.version to .gitignore, so that you don't accidentally commit it. +# .tarball-version is never generated in a VC'd directory, so needn't +# be listed there. # # Use the following line in your configure.ac, so that $(VERSION) will # automatically be up-to-date each time configure is run (and note that