Skip to content

Conversation

@glconti
Copy link

@glconti glconti commented Feb 5, 2017

  • change button icon to a nicer one

This change is Reviewable

{
public class HunkRange
{
public HunkRange(string hunkRange, int contextLines)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing the contextLines?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was always 0, while learning the code it made sense, do you fell like could it be useful in the future?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes in the future I wanted to introduce a possibility to define some value for it, which would be useful here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ restored context line parameter

@glconti glconti force-pushed the add-whitespace-ignoring branch from 3456f44 to 71752d4 Compare March 16, 2017 08:44
@glconti glconti force-pushed the add-whitespace-ignoring branch from 71752d4 to 5940e3a Compare March 16, 2017 14:24
@laurentkempe
Copy link
Owner

Having the new button on the contextual menu is confusing because you tend to think that it applies only to this hunk when it applies to the whole file
image

I think it would be better to have it only on the menu bar
image

@laurentkempe
Copy link
Owner

When ignoring whitespace is on and a white space is added at the limit of a hunk, it shows changes which it should not do

2017-03-20_21-44-34

@glconti glconti closed this Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants