[PATCH (GITK) 0/6] Runaway process and commit selection fixes
From: Alexander Gavrilov <hidden>
Date: 2016-06-15 22:45:03
This series includes three patches that I sent 8 days ago,
because I haven't received any reply so far.
These patches address the following problems:
1) Runaway processes (resend)
As in the 'git gui blame' case, gitk back-end processes can sometimes
run for a while without producing any output, e.g. diff-files on a slow
filesystem.
These patches make gitk explicitly kill its back-end processes.
2) Gitk stopping showing any diffs under random conditions.
3) Broken commit selection on view reload: gitk tried to preserve
the selected commit, but usually failed because of code rot.
I added selection preservation on Reload and Edit View.
Update still should reset the selection to HEAD if anything changed.
Also, if the previously selected commit was not found in the new view,
gitk should fall back to selecting HEAD.
Alexander Gavrilov (6):
gitk: Kill back-end processes on window close.
gitk: Register diff-files & diff-index in commfd, to ensure kill.
gitk: On Windows use a Cygwin-specific flag for kill.
gitk: Fixed broken exception handling in diff.
gitk: Fixed automatic row selection during load.
gitk: Fallback to selecting the head commit upon load.
gitk | 148 +++++++++++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 97 insertions(+), 51 deletions(-)