Re: [PATCH] Detect renames in diff family.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 19, 2005, 17:31 UTC
- Message-ID
- <Pine.LNX.4.58.0505191029331.2322@ppc970.osdl.org>
- In-Reply-To
- <7v4qcz16n6.fsf@assigned-by-dhcp.cox.net>
On Thu, 19 May 2005, Junio C Hamano wrote:
> > - I have been assuming that diff_delta uses its two input > read-only but have not verified that myself yet.
Since test-delta uses mmap(PROT_READ), we'd get SIGSEGV if diff_delta actually wrote to the thing. So this is a safe assumption.
Linus