From: Jeff King Date: Tue, 23 Apr 2019 03:06:49 GMT Subject: Re: allow a differn't diff.context config for git format-patch Message-ID: <20190423030648.GA6344@sigill.intra.peff.net> In-Reply-To: On Sun, Apr 14, 2019 at 04:48:53PM -0500, Shawn Landden wrote: > When I send patches I want them to have lots of context, but when just > looking at a diff, I can always open the file for context. Seems like a reasonable thing to want. You can already use "git format-patch -U20 ...". The usual advice for putting that in config is to define an alias wit your preferred option. I don't think it would be too big a problem for format-patch to learn some options to configure its diffs. We already have some options in format.* for various things. -Peff