3 Apr 2009 02:04
Re: [PATCH] Allow setting default diff options via diff.defaultOptions
Keith Cascio <keith <at> CS.UCLA.EDU>
2009-04-03 00:04:18 GMT
2009-04-03 00:04:18 GMT
Johannes,
On Sat, 21 Mar 2009, Johannes Schindelin wrote:
> The idea is from Keith Cascio.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin <at> gmx.de>
> ---
> I do not particularly like what this patch does, but I like
> the non-intrusiveness and conciseness of it.
Your patch does not provide a command line opt_out flag. Let me describe a
workflow situation and ask you how to handle it if the user were running your
patch. Let diff.defaultOptions = "-b". The user is getting closer to
submitting his patch and he wants to see patch output identical to what `git format-patch`
will produce. What command should he use?
`git format-patch --stdout master` ?
-- Keith
RSS Feed