sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
803 stars 39 forks source link

Sparse git checkout marks all files as newly added #6460

Open kevbrice opened 3 weeks ago

kevbrice commented 3 weeks ago

Description of the bug

I'm using the Microsoft fork of Git (2.46.0.vfs.0.0) for a sparse checkout. For years now, Sublime Text has shown basically my entire checkout as newly added files. It's distracting and leads me to basically ignore the git functionality in Sublime Text.

Steps to reproduce

  1. Check out a sparse checkout using the Microsoft version of git
  2. Open Sublime Text in the folder containing the new checkout

Expected behavior

No files should be listed as new, as it's a clean checkout

Actual behavior

Basically every file is marked as new.

Sublime Text build number

4180

Operating system & version

Windows 11, Windows 10

(Linux) Desktop environment and/or window manager

No response

Additional information

Sublime Merge quickly just hangs on the same checkout while also showing tons of new files that aren't really new, so I don't even try to use it.

OpenGL context information

No response

deathaxe commented 3 weeks ago

I maintain various syntax packages by sparse-checked out worktrees of sublimehq/Packages, using normal git for Windows (2.45). All of which display normally.