The ctrl-c signal can now be sent when the blame analysis is running.

Fixed by just enabling the daemon property on the blame threads.
This commit is contained in:
Adam Waldenberg 2012-05-21 15:43:51 +02:00
parent 494679520f
commit 81e3f5d82c

View file

@ -82,6 +82,7 @@ class Blame:
if not missing.add(row.strip()): if not missing.add(row.strip()):
blame_string = "git blame -w {0} \"".format("-C -C -M" if hard else "") + row.strip() + "\"" blame_string = "git blame -w {0} \"".format("-C -C -M" if hard else "") + row.strip() + "\""
thread = BlameThread(blame_string, FileDiff.get_extension(row), self.blames) thread = BlameThread(blame_string, FileDiff.get_extension(row), self.blames)
thread.daemon = True
thread.start() thread.start()
if hard: if hard: