Re: [PATCH v4 3/8] status: Added missing calls to diff_unmodified_pair() in format_callbacks.
- From
- Henrik Grubbström <grubba@roxen.com>
- Date
- Apr 12, 2010, 13:00 UTC
- Message-ID
- <Pine.GSO.4.63.1004121453310.1164@shipon.roxen.com>
- In-Reply-To
- <7vaatbueg5.fsf@alter.siamese.dyndns.org>
On Sat, 10 Apr 2010, Junio C Hamano wrote:
Show 13 quoted lines
> "Henrik Grubbström (Grubba)" <grubba@grubba.org> writes: > >> The diff_queue_struct provided by diff_flush() is raw, and needs to be >> filtered through diff_unmodified_pair() before being used. >> This is already done by most of the other functions operating on >> diff_queue_struct called by diff_flush(). > > That is true but only if you are letting the diff front-end to feed > unmodified pairs to begin with, e.g. --find-copies-harder. I don't think > the internal caller in wt-status does that. > > I don't think the patch is wrong nor it would hurt, but I am puzzled why > you needed this patch.
Well, it's a prerequisite for the diff: Filter files that have changed... patch, albeit apparently not sufficient (yet).
-- Henrik Grubbström grubba@grubba.org Roxen Internet Software AB grubba@roxen.com