]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
patch: further cleanup to git-style diffs.
authorpfg <pfg@FreeBSD.org>
Thu, 21 Dec 2017 16:25:33 +0000 (16:25 +0000)
committerpfg <pfg@FreeBSD.org>
Thu, 21 Dec 2017 16:25:33 +0000 (16:25 +0000)
commitbc6b4c8f0481992aab93ae4093d21b7325a5c5e6
tree9f39251b75082e6a0ab363878a48a286e6b55176
parentca44545569eb100d2280f27b402fd456e8816cd4
patch: further cleanup to git-style diffs.

Fix adding and removing files with git-style a/ b/ diffs: only skip
six letters if they actually match "--- a/" and "+++ b/" instead of
laxer checks.

Obtained from: OpenBSD (CVS 1.59)
usr.bin/patch/pch.c