kemayo / sublime-text-git

Plugin for some git integration into sublime text
MIT License
2.83k stars 391 forks source link

Don't save anonymous buffers when running commands #538

Closed mitranim closed 6 years ago

mitranim commented 6 years ago

I often write notes in anonymous buffers, not backed by a file. Currently, with save_first enabled, running a git command over such a buffer will attempt to save it, which I don't want. Bugged me for years. This PR fixes it.

(Edit: thanks for the plugin btw! Very useful!)

kemayo commented 6 years ago

I'm all for this. I just need the tests to pass first.