When looking for new lines in diff output, grep for '^[>+]' instead of

'^>', in order to catch both normal and unified diffs.

Problem reported by:	volker at vwsoft dot com via -stable
MFC after:	3 days
This commit is contained in:
cperciva 2005-08-22 09:33:36 +00:00
parent 491d2271d8
commit 2f763eca1d

View File

@ -43,7 +43,7 @@ check_diff() {
rc=0
if [ "$1" = "new_only" ]; then
shift
filter="grep '^>'"
filter="grep '^[>+]'"
else
filter="cat"
fi