lewang / ws-butler

Unobtrusively trim extraneous white-space *ONLY* in lines edited.
242 stars 26 forks source link

Incompatible with Magit #15

Closed andyleejordan closed 6 years ago

andyleejordan commented 9 years ago

Hi,

I've noticed an unfortunate behavior. If I make changes to a file, and then discard a particular hunk using Magit, ws-butler is counting that as a change to the entire file, and proceeds to do a whitespace cleanup of the entire file.

I can do more investigating later, but thought I should bring this to your attention.

FWIW I have Magit set to auto-revert the buffer.

lewang commented 9 years ago

Hi,

Thanks for the report, but I couldn't repro after a quick try. Please let me know if you find any more info or have detailed repro steps.

On Mon, Aug 10, 2015 at 5:10 PM, Andy Schwartzmeyer < notifications@github.com> wrote:

Hi,

I've noticed an unfortunate behavior. If I make changes to a file, and then discard a particular hunk using Magit, ws-butler is counting that as a change to the entire file, and proceeds to do a whitespace cleanup of the entire file.

I can do more investigating later, but thought I should bring this to your attention.

FWIW I have Magit set to auto-revert the buffer.

— Reply to this email directly or view it on GitHub https://github.com/lewang/ws-butler/issues/15.

Le

andyleejordan commented 6 years ago

I don't think I've noticed this since filing, so I'm closing.