Re: git log -z doesn't separate commits with NULs
- From
Jeff King <peff@peff.net>
- Date
- Feb 23, 2012, 19:34 UTC
- 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:
Show 5 quoted lines
> 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