From: Jeff King Date: Thu, 23 Feb 2012 19:34:51 GMT Subject: Re: git log -z doesn't separate commits with NULs Message-ID: <20120223193451.GB30132@sigill.intra.peff.net> In-Reply-To: <4F4643BB.8090001@gmail.com> On Thu, Feb 23, 2012 at 04:48:43PM +0300, Nikolaj Shurkaev wrote: > For example there are commits that affect not only files in folder A > but files in folder B, C and so on. If I do format-patch that will > give me nice patches, but there are modifications of folders B, C and > so on there. I do not know a way to generate patches via format-patch > that affect only files in folder A. Doesn't: git format-patch HEAD~3..HEAD SomePath do what you want? It is certainly designed to, and it seems to work for me. -Peff