From owner-svn-src-all@freebsd.org Mon Jul 3 18:37:49 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8645A9ED12C for ; Mon, 3 Jul 2017 18:37:49 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm17-vm6.bullet.mail.ne1.yahoo.com (nm17-vm6.bullet.mail.ne1.yahoo.com [98.138.91.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E8C07BD26 for ; Mon, 3 Jul 2017 18:37:48 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1499106926; bh=dPzRn06/WdaSmPI/UOrQCAvXz6t5e6bCjvQgIGt24tQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=ibFO6UWn9hjQC+DU++xtNlm4pdhpSRRZsp2kqG8D9mYn5AkD/83Bm4YMmjfms9whkyKalO2iKB14JRI1hwzx5LI1V/hmr/rpGW8XjdjKE64Nbw5Y3HEtexA3P4QU+yemNzJbGBAK9lDxmVPaIG+8bDnQ/J6AL/SMaYflXoC57BbxQZpxoIvDR0OpN720R6j0tFu0+RTkokii6DOCePKpgD8jNgkjcNIR6BzfJVes7CCGt8KhF+srfXNXBCtV2vsVrNnzzRUMnMd/wISWPGFXGVleq4o5s/8+tJ3VclespH81h9ejUmQppf/5Z8VnyRVKEIVEDUjKK6nX7ADRp+Onyw== Received: from [98.138.100.112] by nm17.bullet.mail.ne1.yahoo.com with NNFMP; 03 Jul 2017 18:35:26 -0000 Received: from [98.138.84.45] by tm103.bullet.mail.ne1.yahoo.com with NNFMP; 03 Jul 2017 18:35:26 -0000 Received: from [127.0.0.1] by smtp113.mail.ne1.yahoo.com with NNFMP; 03 Jul 2017 18:35:26 -0000 X-Yahoo-Newman-Id: 971848.85011.bm@smtp113.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: jGUQSOgVM1lss2VQRMVN3Er0OcPmaiCuSxY20DxD7qKCrDw qzD5TL7r2is44ioW9fuSX4J_38Q3KyNfw3sBw6hink4eY50gw3m_ejaOohho 3lz1uczOQStYCsH71oQE8tBmhIYT6CAD7PDpF3Bh4qPuRJMeA1uqCCAMhXzo nmgcDRrrS0UjqC76LxW9enkyt2UfOumNsd5uNae_HOXA9amJndKC3LRkzqyc AvBB3qkePFNJlvUqmAwA3jouP6e.tOeKEgTX.JaESETzG4LwuwTX14B5t1J8 G6dREURoyY4SgNL8TcGOMvwSLHDTdlaVnncjSMsoSWIC5HaIoW_PYjbLWyMs bJcZvy5WSZ0q2AtDbwbjkk6amq7sizPFqIQRgRLTO56Tw_7eIzS.rU9HYXhO Q68C.BMS266vojm4DD7U_8XsKAYbTr4JnFqItAzMSZlEcaXgjIxw1iG8OI6m QyegZOcDPm171wZZzrdeeJCHm6gj4G8PuL61arC7U8YPmDjLqALQTMcsy2pp s.p6AAnvATaDd86nC_Ks- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: svn commit: r320579 - head/usr.bin/patch To: Alexey Dokuchaev Cc: cem@freebsd.org, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers References: <201707022100.v62L0Ume001253@repo.freebsd.org> <20170703181727.GA99316@FreeBSD.org> From: Pedro Giffuni Organization: FreeBSD Project Message-ID: Date: Mon, 3 Jul 2017 13:35:25 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170703181727.GA99316@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 18:37:49 -0000 On 7/3/2017 1:17 PM, Alexey Dokuchaev wrote: > On Mon, Jul 03, 2017 at 10:42:15AM -0500, Pedro Giffuni wrote: >> On 07/02/17 21:53, Conrad Meyer wrote: >>> Does this change the behavior of 'patch -p1' (for example) with 'git >>> diff' generated diffs? So patches that could be applied with -p1 >>> before now need to be applied with -p0? Or is this a different mode >>> of patch? >> IMHO, the (new) BSD patch behavior is somewhat more natural in the sense >> that no one asked git to add a prefix to the path so it makes sense to >> ignore it. > But -p1 already solves the problem; why add any ad-hoc handling to some > particular program that tends to generate patches whatever the way it > does? The behavior only applies to git diffs. Pedro.