From 2543c7fb1a6e4f5776c2c015b44454fd0eef4bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 15 Jul 2010 12:05:53 +0000 Subject: [PATCH] grep Changelog entry from unified diffs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Rafaël Carré, rafael d carre a gmail Originally committed as revision 24248 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/patcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patcheck b/tools/patcheck index 4bb0236879..521138ae93 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -123,7 +123,7 @@ if test -e $TMP ; then cat $TMP fi -grep '^Index:.*Changelog' $* >/dev/null || printf "\nMissing changelog entry (ignore if minor change)\n" +grep '^+++ .*Changelog' $* >/dev/null || printf "\nMissing changelog entry (ignore if minor change)\n" cat $* | tr '\n' '@' | egrep --color=always -o '(fprintf|av_log|printf)\([^)]*\)[+ ;@]*\1' >$TMP && printf "\nMergeable calls\n" cat $TMP | tr '@' '\n'