jyp / dante

389 stars 52 forks source link

Dante overwrites file when using magit-diff-visit-file #110

Closed matthewbauer closed 5 years ago

matthewbauer commented 5 years ago

When using magit-diff-visit-file, you visit an old buffer that looks like this:

path/to/file.~my-branch~4~

Apparently dante tries to save this as the current file.

jyp commented 5 years ago

Alright. Dante needs to be disabled on such buffers (presumably they should not be edited). Would you propose a pull request?

jyp commented 5 years ago

Should be fixed by c7d7070