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
491d2271d8
commit
2f763eca1d
@ -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