From: Junio C Hamano Date: Wed, 30 Apr 2025 14:40:04 GMT Subject: Re: Discussion for interactive --patch commands to get --unified support Message-ID: In-Reply-To: Leon Michalak writes: > With all that being said, I propose the following: > - inheriting `diff.context` and `diff.interhunkcontext` as the > defaults for the various interactive/patch commands > - be able to override these defaults on the command line with > `-U/--unified=` and `--inter-hunk-context=` respectively I think the usage pattern when people use "add -p" and "diff" are different (with "add -p", you get only one hunk at a time, and you may want a bit wider context to avoid getting disoriented, for example) and I agree that it may be useful to be able to specify different context lengths for them, which the above should cover nicely.