summaryrefslogtreecommitdiff
path: root/build-aux/git-version-gen
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-08-11 14:16:35 +0200
committerJim Meyering <meyering@redhat.com>2011-08-11 14:16:35 +0200
commit17857d41b41e7b22ba58e4e0d98693ee14f022d4 (patch)
treeaae5632ad6615e08c50b670e4a3a86bcda390f30 /build-aux/git-version-gen
parent08c11765d4fe790403229496a8a3ec625a3ca5af (diff)
downloadgnulib-17857d41b41e7b22ba58e4e0d98693ee14f022d4.tar.gz
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.
Diffstat (limited to 'build-aux/git-version-gen')
-rwxr-xr-xbuild-aux/git-version-gen8
1 files changed, 5 insertions, 3 deletions
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index 6d7144665d..168d81a7ae 100755
--- a/build-aux/git-version-gen
+++ b/build-aux/git-version-gen
@@ -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 @@ scriptversion=2011-07-31.12; # UTC
# 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