[eog] Only put commits into autogenerated log that are not in the old ones



commit d31866afb98d8d01691bbf958bae3e40224af397
Author: Felix Riemann <friemann gnome org>
Date:   Wed Aug 12 20:18:09 2009 +0200

    Only put commits into autogenerated log that are not in the old ones
    
    The autogenerated ChangeLog only needs to contain the commits that have
    not been entered in the old ChangeLog files. This means everything
    before commit 3b9b307 can be filtered out. Also detect renames as such.

 Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 7603672..1218f93 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,7 @@ EXTRA_DIST = 			\
 	MAINTAINERS		\
 	ChangeLog-2.6		\
 	ChangeLog-2.18		\
+	ChangeLog.pre-git	\
 	gnome-doc-utils.make
 
 DISTCLEANFILES =                \
@@ -38,13 +39,17 @@ MAINTAINERCLEANFILES = \
 
 -include $(top_srcdir)/git.mk
 
+# This is the last commit before the ChangeLog was converted
+CHANGELOG_START = 6a7944721e667a5c2d87e841917d850aea885019
+
 dist-hook:
 	@if test -d "$(srcdir)/.git"; \
 	then \
 		echo Creating ChangeLog && \
 		( cd "$(top_srcdir)" && \
 		  echo '# Generated by Makefile. Do not edit.'; echo; \
-		  $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
+		  $(top_srcdir)/missing --run git log -M -C --stat \
+		  $(CHANGELOG_START)..) > ChangeLog.tmp \
 		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
 		|| ( rm -f ChangeLog.tmp ; \
 		     echo Failed to generate ChangeLog >&2 ); \



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