sublimehq / sublime_merge

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

Cannot delete single untracked files #1371

Open andyp123 opened 2 years ago

andyp123 commented 2 years ago

Version info

Description

Cannot delete single untracked files, but delete all does work. This has been an issue for the past few dev builds, although I'm not sure when it started exactly.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open a repository
  2. Create a new file so that it appears in the 'Untracked Files' list
  3. Try to delete the file using the 'Delete' button on the UI
  4. Notice that the UI gets refreshed, but the file is not deleted.
  5. Now try to use 'Delete All'
  6. The file will be deleted correctly

Expected behavior

Delete should delete any untracked file that it is used on.

Screenshots

dpjohnst commented 2 years ago

Hi @andyp123,

Thanks for reporting this issue - I've been unable to reproduce this issue so far on my end. When you have a spare moment, would you mind sharing your Sublime Merge debug information?

This can be found in the Sublime Merge application menu under Help > Debug Information Before sharing this information, please take a moment to redact anything you feel is sensitive. For example, remote URLs, email addresses, file paths etc.

Thanks, - Dylan from Sublime HQ

andyp123 commented 2 years ago

This was happening quite frequently, but if I try to reproduce it by deliberately putting a file in the repository where the issue was happening before. I don't know if an update to sublime has fixed it, or issue on my system was resolved, but I can't manually repro it right now.

Here is my debug info (sorry, I removed a bunch of path and repo url information because it is potentially sensitive):

=== App Version Information === Build: 2067

=== Git Version Information === Using Git: C:\Program Files\Git\cmd\git.exe (system) git version 2.34.1.windows.1

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

=== Git Status Information ===

=== Our Status Information ===

=== Git Config Information ===

branch.master.merge=refs/heads/master branch.master.remote=origin core.autocrlf=true core.bare=false core.editor="C:\Program Files\Sublime Text 3\subl.exe" -w core.filemode=false core.fscache=true core.ignorecase=true core.logallrefupdates=true core.repositoryformatversion=0 core.symlinks=false credential.helper=manager-core credential.https://dev.azure.com.usehttppath=true

diff.astextplain.textconv=astextplain difftool.sourcetree.cmd='' "$LOCAL" "$REMOTE" 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 http.sslbackend=openssl http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt init.defaultbranch=master

lfs.repositoryformatversion=0 mergetool.sourcetree.cmd='' mergetool.sourcetree.trustexitcode=true pull.rebase=true remote.origin.fetch=+refs/heads/:refs/remotes/origin/

=== Our Config Information === Git Config Path Information Using config path: /C/ProgramData/Git/config Using config path: /C/Program Files/Git/etc/gitconfig Using config path: /C/Users/Username/.config/git/config Using config path: /C/Users/Username/.gitconfig Using config path: /F/Work/Projectname/.git/config

Our config output is identical to the Git config output

=== Git Attributes Information === git check_attr --all output

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

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