mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
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:
parent
494679520f
commit
81e3f5d82c
1 changed files with 1 additions and 0 deletions
1
blame.py
1
blame.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue