sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
274 stars 14 forks source link

Sublime Merge closing itself when taking certain actions #1885

Open Nick-PC opened 6 months ago

Nick-PC commented 6 months ago

Version info

Description

This issue occurs inconsistently. When adding files, committing changes, or pushing to the remote repository, Sublime Merge closes out suddenly as though the X button has been clicked. The action is properly performed some of the time before Sublime Merge closes, but the closure is always triggered by taking some action in Sublime Merge (i.e. if left alone, the program will not close itself).

Steps to reproduce

  1. Open a repository
  2. Add, commit, or push in said repository

Expected behavior

The performed function should occur without closing Sublime Merge.

Debug Information === App Version Information === Build: 2091

=== Git Version Information === Using Git: E:\Program Files\Sublime Merge\Git\cmd\git.exe (bundled) git version 2.39.1.windows.1


INFO REDACTED


=== Browse Page Information === HEAD: f395e86540736f544d1ace4f10381d6f860f774c Is in merge: 0 Is in cherry_pick: 0 Is in rebase: 0 Is in revert: 0

=== Git Status Information ===


INFO REDACTED


=== Our Status Information ===


INFO REDACTED


=== Git Config Information ===


INFO REDACTED


color.interactive=true color.ui=auto core.autocrlf=true core.bare=false core.filemode=false core.ignorecase=true core.logallrefupdates=true core.repositoryformatversion=0 core.symlinks=false credential.helper=manager credential.https://dev.azure.com.usehttppath=true diff.astextplain.textconv=astextplain filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f gui.geometry=893x435+234+234 175 196 gui.wmstate=normal help.format=html include.path=C:/Program Files/Git/etc/gitconfig pack.packsizelimit=2g push.autosetupremote=true rebase.autosquash=true


INFO REDACTED


=== Our Config Information === Git Config Path Information Using config path: /C/ProgramData/Git/config Using config path: /E/Program Files/Sublime Merge/Git/etc/gitconfig


INFO REDACTED


Our config output is different to the Git config output


INFO REDACTED


color.interactive=true color.ui=auto core.autocrlf=true core.bare=false core.filemode=false core.ignorecase=true core.logallrefupdates=true core.repositoryformatversion=0 core.symlinks=false credential.helper=manager credential.https://dev.azure.com.usehttppath=true diff.astextplain.textconv=astextplain filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f gui.geometry=893x435+234+234 175 196 gui.wmstate=normal help.format=html include.path=C:/Program Files/Git/etc/gitconfig pack.packsizelimit=2g push.autosetupremote=true rebase.autosquash=true


INFO REDACTED


=== Git Attributes Information ===


INFO REDACTED


=== Our Modified Files Newline Normalisation and EOL Information ===


INFO REDACTED


=== Our Modified Files Flag Information === Ignoring symlinks: 1


INFO REDACTED


Nick-PC commented 6 months ago

Upon further investigation, making the aforementioned changes using Git in a terminal can also cause Sublime Merge to spontaneously shut itself down.

Nick-PC commented 5 months ago

As an additional bit of context on this, I've discovered that Sublime Merge closing is actually in response to Git changes. Those changes can be made within Sublime Merge itself or through a terminal. It's still inconsistent which changes cause this or when/why, but I've confirmed it's related to changes to a Git repo opened in Sublime Merge.

I've begun to suspect the Git version since I see this issue on one of my computers and not the other. Both should be up-to-date on Sublime Merge but are likely running different Git versions. If this seems like a relevant piece of information, I can provide the Git and Sublime Merge versions on my other computer which is not seeing the issue.