sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

No way to tell if "Working Directory" view is up-to-date

Open geoffreygaren opened this issue 9 months ago • 2 comments

Problem description

Steps to reproduce:

  1. Open a repository in Sublime Merge
  2. Make the "Commits" tab active
  3. Select the virtual top commit (representing your working directory changes) --> Notice that you have no changes
  4. Make a change in the working directory --> For a few seconds, or up to a minute, Sublime Merge shows a UI that claims, incorrectly, that you still have no changes

When you're just reviewing changes casually, this is a little annoying.

But if you mix Sublime Merge with command-line use of git, it can cause you to think you have no local changes, encouraging you to push an incomplete commit.

Preferred solution

It would be nice if Sublime Merge listened for filesystem change notifications in the repository folder hierarchy. In the time between receiving a notification and completing the git commands to update the UI, the UI could indicate that it is was out of date. Options include blanking the UI entirely, greying out the last known good version of the UI, showing a progress indicator, etc. Any breadcrumb to help the user know that an update was in progress would be a great help.

geoffreygaren avatar Apr 29 '24 20:04 geoffreygaren