We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61e3e4 commit 074d66eCopy full SHA for 074d66e
git-blame.py
@@ -176,6 +176,10 @@ def on_phantom_close(self, href):
176
self.view.erase_phantoms('git-blame')
177
178
def run(self, edit):
179
+ if self.view.is_dirty():
180
+ sublime.status_message("The file needs to be saved for git blame.")
181
+ return
182
+
183
phantoms = []
184
185
#Before adding the phantom, see if the current phantom that is displayed is at the same spot at the selection
0 commit comments