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:
parent
f46417c577
commit
d7883da19f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149366
@ -43,7 +43,7 @@ check_diff() {
|
||||
rc=0
|
||||
if [ "$1" = "new_only" ]; then
|
||||
shift
|
||||
filter="grep '^>'"
|
||||
filter="grep '^[>+]'"
|
||||
else
|
||||
filter="cat"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user