bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] git-version-gen: correct the advice in a comment


From: Jim Meyering
Subject: [PATCH] git-version-gen: correct the advice in a comment
Date: Thu, 11 Aug 2011 14:21:04 +0200

FYI,

>From 17857d41b41e7b22ba58e4e0d98693ee14f022d4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 11 Aug 2011 14:16:35 +0200
Subject: [PATCH] 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.
---
 ChangeLog                 |    6 ++++++
 build-aux/git-version-gen |    8 +++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2ed4429..f6e27cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-08-11  Jim Meyering  <address@hidden>
+
+       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.
+
 2011-08-10  Paul Eggert  <address@hidden>

        base64: fix off-by-one buffer size bug
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index 6d71446..168d81a 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
--
1.7.6.433.g1421f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]