jisaacks / GitGutter

A Sublime Text 2/3 plugin to see git diff in gutter
MIT License
3.88k stars 225 forks source link

save-as change filename but gutter works against the original file #549

Closed 4ndrej closed 5 years ago

4ndrej commented 5 years ago

Description

When I save-as file, the filename change but the gutter works as if it is original file. Changes are displayed as changes even if the new file is not under source control.

Support Info

Steps to Reproduce Issue

  1. open file "original.sh". file is under git source control
  2. "save as" another file "changed.sh"
  3. change something
  4. save file
  5. gutter acts as if I change the original file - displays the modified icons
  6. the new file does not have to be under source control yet
deathaxe commented 5 years ago

I can reproduce the issue. Will have a look into it in the next few days, I think