Browse Source

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
tags/n0.8
Rafaël Carré Carl Eugen Hoyos 15 years ago
parent
commit
2543c7fb1a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/patcheck

+ 1
- 1
tools/patcheck View File

@@ -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