I run `git lfs status`. I believe this will show me, out of the changed items in `git status`, whether they're going to be committed to LFS or to regular git.

A new file, CompileShaders.targets, is listed with an "LFS:" line, suggesting it's going into LFS. ".targets" is an XML file consumed by msbuild, it should go into regular git. I don't see anything in .gitattributes that would give this file the LFS nature.

What am I missing?

.gitattributes:

*.dll filter=lfs diff=lfs merge=lfs -text
*.lib filter=lfs diff=lfs merge=lfs -text
*.pdb filter=lfs diff=lfs merge=lfs -text
*.so filter=lfs diff=lfs merge=lfs -text
*.so.* filter=lfs diff=lfs merge=lfs -text
*.a filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text
*.metallib filter=lfs diff=lfs merge=lfs -text
*.nro filter=lfs diff=lfs merge=lfs -text
*.nrs filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.spv filter=lfs diff=lfs merge=lfs -text
$ git lfs status

Objects to be committed:

	../../LilyEngineCs/CompileShaders.targets (LFS: e3b0c44)
	../Resources/shader/basic.frag.spv (LFS: 4367fe4)
	../Resources/shader/basic.vert.spv (LFS: d22ed20)
	../Resources/shader/multi_image_attachment.frag.spv (LFS: 6095495)
	../Resources/shader/test.frag.spv (LFS: 61a5d9f)
	../Resources/shader/twirl.frag.spv (LFS: 227262c)
	../Resources/shader/basic.frag -> ../Shaders/basic.frag (Git: d36d861 -> Git: d36d861)
	../Resources/shader/basic.vert -> ../Shaders/basic.vert (Git: dbcc823 -> Git: dbcc823)
	../Resources/shader/multi_image_attachment.frag -> ../Shaders/multi_image_attachment.frag (Git: c68aba8 -> Git: c68aba8)
	../Resources/shader/test.frag -> ../Shaders/test.frag (Git: bd64172 -> Git: bd64172)
	../Resources/shader/twirl.frag -> ../Shaders/twirl.frag (Git: a38b747 -> Git: a38b747)
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/115895455262220854 on your instance and quote it. (Note that quoting is not supported in Mastodon.)