mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
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
|
rc=0
|
||||||
if [ "$1" = "new_only" ]; then
|
if [ "$1" = "new_only" ]; then
|
||||||
shift
|
shift
|
||||||
filter="grep '^>'"
|
filter="grep '^[>+]'"
|
||||||
else
|
else
|
||||||
filter="cat"
|
filter="cat"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user