sublimehq / sublime_merge

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

Sublime Merge: Delete untracked file will remove more than intended for `artifacts/*.xml` file #1954

Open stdedos opened 3 weeks ago

stdedos commented 3 weeks ago

Version info

Description

A description of what the bug is.

Sublime Merge does not properly escape globs.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open repository ...
  2. Run touch 'artifacts/*.xml'
  3. Try to delete that untracked file from the Sublime Merge GUI

Expected behavior

A description of what you expected to happen.

Only the one intended file is removed

Debug Information The Sublime Merge debug information can be used to narrow down the cause of an issue. It can be collected with the following steps:

  1. Open Sublime Merge
  2. Open the repository where the bug occurs
  3. Navigate to Help > Debug Information via the application menu
  4. Before sharing, please redact any information that's sensitive such as file paths, git user information, remote URLs etc.

This section may be omitted/removed.

Screenshots

If applicable, add screenshots to help explain your problem. This section may be omitted/removed.

image

dpjohnst commented 2 weeks ago

Hi @stdedos,

Thank you for reaching out and reporting this issue, and sorry that you were affected by it. This will be resolved in the next build of Sublime Merge. I will reach out again once this has been released.

Kind regards, - Dylan from Sublime HQ

dpjohnst commented 1 week ago

Hi @stdedos,

This has been resolved in Sublime Merge build 2100 (development build).

Cheers, - Dylan from Sublime HQ