[FFmpeg-devel] [PATCH 3/3] allow fate references to lack the final newline

Michael Niedermayer michaelni at gmx.at
Tue Nov 11 00:46:50 CET 2014


From: Lukasz Marek <lukasz.m.luki2 at gmail.com>

---
 update |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update b/update
index 69b3b38..2612365 100644
--- a/update
+++ b/update
@@ -53,7 +53,7 @@ check_trailing_whitespace () {
 }
 
 check_ending_newline () {
-  for file in $(git diff-tree --name-only --diff-filter="A|C|M|R" -r $REVISION | tail -n +2 | egrep -v '/$|\.diff$|\.patch$' | egrep "$@") ; do
+  for file in $(git diff-tree --name-only --diff-filter="A|C|M|R" -r $REVISION | tail -n +2 | egrep -v '/$|^tests/ref/|\.diff$|\.patch$' | egrep "$@") ; do
     if is_text_file $REVISION "$file" 2> /dev/null ; then
       if [ `git cat-file -p "$REVISION:$file" | tail -c1 | wc -l` = 0 ]; then
         echoerr "In $REVISION:"
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list