#1107102 git sparse-checkout filters not working properly - spitting out warning when checks out fine

Package:
git
Source:
git
Description:
fast, scalable, distributed revision control system
Submitter:
Andrew Gunawan
Date:
2025-06-01 15:35:02 UTC
Severity:
normal
#1107102#5
Date:
2025-06-01 15:31:55 UTC
From:
To:
I have my filters set as shown below, but I get a warning shown when
I do anything. However, as my `la` output shows, the checkout works
fine. I'm not sure why it's giving the warning.

 󰈺  ❯ git sparse-checkout reapply
warning: unrecognized pattern: '*.jpg'
warning: disabling cone pattern matching
warning: unrecognized pattern: '*.jpg'
warning: disabling cone pattern matching

 󰈺  ❯ cat .git/info/sparse-checkout
/docs/
!*.jpg
!*.png
!*.mp4
!*.gif

 󰈺  ❯ la
total 8.0K
drwxrwxr-x 7 andrew andrew 4.0K Jun  1 23:05 docs/
drwxrwxr-x 7 andrew andrew 4.0K Jun  1 23:24 .git/