[mm-common] Avoid truncating the bottom-most ChangeLog message



commit 3374a2e5305f69282718288356a050d0d40e353d
Author: Daniel Elstner <danielk openismus com>
Date:   Tue Sep 1 00:06:16 2009 +0200

    Avoid truncating the bottom-most ChangeLog message
    
    * build/dist-changelog.am (dist-changelog): Always output a blank line
    after each extracted log entry, in order to avoid tripping up the sed
    program used to post-process the git output.

 build/dist-changelog.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/dist-changelog.am b/build/dist-changelog.am
index 1cb3849..4f6977d 100644
--- a/build/dist-changelog.am
+++ b/build/dist-changelog.am
@@ -25,7 +25,7 @@ endif
 
 dist-changelog: $(top_srcdir)/.git/HEAD
 	@if git --git-dir="$(top_srcdir)/.git" --work-tree="$(top_srcdir)" \
-		log --date=short --pretty='format:%cd  %an  <%ae>%n%n%s%n%n%b' \
+		log --date=short --pretty='format:%cd  %an  <%ae>%n%n%s%n%n%b%n' \
 	  | sed	-e '/^[12]...-[01].-[0123].  [^<>]*  <[^<>]*>$$/,/^$$/ b' \
 	 	-e '/[^	 ]/,/^[	 ]*$$/! d' \
 		-e 's/^[	 ]*/	/' \



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