Re: [PATCH v2 7/7] blame: actually use the diff opts parsed from the command line

2016-09-07 Thread Junio C Hamano
Michael Haggerty writes: > The reason that I would prefer to change `blame` as part of this patch > series is that I think it would be disconcerting for `git diff` and `git > blame` to use different heuristics when computing diffs. It would make > their output inconsistent. I do think it is the

Re: [PATCH v2 7/7] blame: actually use the diff opts parsed from the command line

2016-09-04 Thread Michael Haggerty
On 08/23/2016 11:56 AM, René Scharfe wrote: > Am 22.08.2016 um 13:22 schrieb Michael Haggerty: >> "git blame" already parsed generic diff options from the command line >> via diff_opt_parse(), but instead of passing the resulting xdl_opts to >> xdi_diff(), it sent its own xdl_opts, which only refle

Re: [PATCH v2 7/7] blame: actually use the diff opts parsed from the command line

2016-08-23 Thread Junio C Hamano
Michael Haggerty writes: > Somebody who knows more about how diff operations are configured > should please review this. I'm not certain that the change as > implemented won't have other unwanted side-effects, though of course > I checked that the test suite runs correctly. Generally, I think th

Re: [PATCH v2 7/7] blame: actually use the diff opts parsed from the command line

2016-08-23 Thread René Scharfe
Am 22.08.2016 um 13:22 schrieb Michael Haggerty: "git blame" already parsed generic diff options from the command line via diff_opt_parse(), but instead of passing the resulting xdl_opts to xdi_diff(), it sent its own xdl_opts, which only reflected the values of the self-parsed options "-w" and "

[PATCH v2 7/7] blame: actually use the diff opts parsed from the command line

2016-08-22 Thread Michael Haggerty
"git blame" already parsed generic diff options from the command line via diff_opt_parse(), but instead of passing the resulting xdl_opts to xdi_diff(), it sent its own xdl_opts, which only reflected the values of the self-parsed options "-w" and "--minimal". Instead, rely on diff_opt_parse() to pa