grep Changelog entry from unified diffs

Patch by Rafaël Carré, rafael d carre a gmail

Originally committed as revision 24248 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Rafaël Carré 15 years ago committed by Carl Eugen Hoyos
parent 961e4a3389
commit 2543c7fb1a
  1. 2
      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'

Loading…
Cancel
Save