[FFmpeg-devel] [PATCH] patcheck: grep Changelog entry from unified diffs

Rafaël Carré rafael.carre
Wed Jul 14 21:03:04 CEST 2010


Works on patches not produced by 'svn diff'
---
 tools/patcheck |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/patcheck b/tools/patcheck
index 4bb0236..521138a 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'
-- 
1.7.0.4





More information about the ffmpeg-devel mailing list