summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Pratyush Yadav <me@yadavpratyush.com>2019-08-04 20:09:19 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-07 13:22:51 -0700
commit5440eb0ea2651c45a0e46f2335ecbb8d1f42c584 (patch)
tree1495f0e8f5ac96628fffdf5bbeef8361eadd2652 /Makefile
parentMerge remote-tracking branch 'philoakley/dup-gui' (diff)
downloadtgif-5440eb0ea2651c45a0e46f2335ecbb8d1f42c584.tar.xz
git-gui: call do_quit before destroying the main window
If the toplevel window for the window being destroyed is the main window (aka "."), then simply destroying it means the cleanup tasks are not executed (like saving the commit message buffer, saving window state, etc.) All this is handled by do_quit. Call it instead of directly destroying the main window. For other toplevel windows, the old behavior remains. Signed-off-by: Pratyush Yadav <me@yadavpratyush.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions