Bug 2614 - Diff view should coalesce overlapping hunks
Summary: Diff view should coalesce overlapping hunks
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Mac OS
: Low normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-12-22 15:01 UTC by Mikayla Hutchinson [MSFT]
Modified: 2013-05-11 09:08 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2011-12-22 15:01:26 UTC
The unified diff view (which can be toggled in the changes view) shows each changed line as a separate hunk. Adjacent hunks are not coalesced even if their context overlaps, which means that hunks can show the old unmodified values for text in adjacent hunks, which is confusing.
Comment 1 Mike Krüger 2012-04-24 12:05:14 UTC
Y it's moved to text editor because the diff algorithm is there.
Comment 2 Marius Ungureanu 2013-05-06 21:23:32 UTC
I'll take care of this.
Comment 3 Marius Ungureanu 2013-05-08 18:17:36 UTC
Fixed.
Comment 4 Mike Krüger 2013-05-11 09:08:47 UTC
closing.