madskristensen / LessCompiler

A Visual Studio extension
Other
15 stars 8 forks source link

"Compare with Unmodified" using GIT on .less file will cause VS 2017 to crash #14

Closed PetrOndrusek closed 5 years ago

PetrOndrusek commented 5 years ago

Installed product versions

Description

I am using GIT as a source control system and I also use LESS Compiler extension (and I like it :-) ). But when I modify some .less file and go to Team Explorer, stand on it, click right mouse button and select "Compare with Unmodified", after a while Visual Studio crashes... Maybe LESS Compiler is not fully compatible with GIT subsystem.

Steps to recreate

  1. Use GIT as a source control system
  2. Modify some .less file
  3. Go to Team Explorer
  4. Select the .less file
  5. Right click on the file
  6. Select "Compare with Unmodified"

Current behavior

Visual Studio freezes for a while and then crashes.

Expected behavior

Stop the crashing.

viktooli commented 5 years ago

Crash also happens using TFS for source control.