'git stash' pushes files that are not listed in the command line

Yuri <[email protected]> Fri, 31 Jul 2026 00:49:58 -0700
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
I work in the FreeBSD ports tree.
There are multiple ports (subdirectories) that have changes.


I intend to stash only 3 ports:
$ git stash push -m "docling: some updates" textproc/py-docling 
textproc/py-docling-mcp textproc/py-docling-slim


However, other files also get into stash:
$ git stash show -p
diff --git a/misc/github-copilot-language-server/distinfo-node22 
b/misc/github-copilot-language-server/distinfo-node22
new file mode 100644
index 000000000000..cc34bd17864f
--- /dev/null
+++ b/misc/github-copilot-language-server/distinfo-node22
@@ -0,0 +1,11 @@
+TIMESTAMP = 1777521723



misc/github-copilot-language-server also has some changes but it was not 
requested to be stashed.


How can I understand why does this happen?


I believe that I've seen a similar situation before with different ports.




Thanks,
Yuri