bug-parted
[Top][All Lists]
Advanced

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

FYI, restore ChangeLog-creation code


From: Jim Meyering
Subject: FYI, restore ChangeLog-creation code
Date: Mon, 17 Dec 2007 21:59:03 +0100

I didn't notice my deletion of the ChangeLog-creation
code in the merge of bootstrap, so rather than restoring
it there, I've put that snippet in bootstrap.conf, where it belongs.

    bootstrap.conf: Perform ChangeLog-creation here, rather than in bootstrap,

so that the next merge will be less likely to clobber this parted-specific bit.

---
 bootstrap.conf |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index faed0c4..8c2fce4 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -75,3 +75,9 @@ excluded_files='
     m4/visibility.m4
     m4/xsize.m4
 '
+
+# If there is no ChangeLog file, create it.
+if test -d .git; then
+  test -e ChangeLog ||
+    git log --pretty=medium | fold -s > ChangeLog
+fi
--
1.5.4.rc0.53.gdfcd




reply via email to

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