From: Stefan Sperling Subject: Re: diff -p redux To: Dag-Erling Smørgrav Cc: gameoftrees@openbsd.org, thj@freebsd.org Date: Fri, 8 Mar 2024 10:41:08 +0100 On Fri, Mar 08, 2024 at 10:25:21AM +0100, Dag-Erling Smørgrav wrote: > Stefan Sperling writes: > > With your patch applied, diff -p shows context lines in hunk headers, > > for both cases discussed in the thread linked above (btrace.c and Makefile). > > Yes, that's the whole point. > > > This is the reason the original change made by Tom was backed out. > > It was backed out because it sometimes picked up lines from _after_ the > change: That was one of two problems. The Makefile diff showing COMMENT twice is another.