{"thread":{"id":"66092","subject":"'git stash' pushes files that are not listed in the command line","startedAt":"2026-07-31T08:19:28Z","lastAt":"2026-07-31T08:19:28Z","messageCount":1,"participants":["Yuri"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"549335","messageId":"334fa4a8-1a84-4528-8f8f-9b1e9607bb75@rawbw.com","threadId":"66092","inReplyTo":null,"subject":"'git stash' pushes files that are not listed in the command line","fromName":"Yuri","fromEmail":"yuri@rawbw.com","sentAt":"2026-07-31T07:49:58Z","receivedAt":"2026-07-31T08:19:28Z","isPatch":false,"body":"I work in the FreeBSD ports tree.\nThere are multiple ports (subdirectories) that have changes.\n\n\nI intend to stash only 3 ports:\n$ git stash push -m \"docling: some updates\" textproc/py-docling \ntextproc/py-docling-mcp textproc/py-docling-slim\n\n\nHowever, other files also get into stash:\n$ git stash show -p\ndiff --git a/misc/github-copilot-language-server/distinfo-node22 \nb/misc/github-copilot-language-server/distinfo-node22\nnew file mode 100644\nindex 000000000000..cc34bd17864f\n--- /dev/null\n+++ b/misc/github-copilot-language-server/distinfo-node22\n@@ -0,0 +1,11 @@\n+TIMESTAMP = 1777521723\n\n\n\nmisc/github-copilot-language-server also has some changes but it was not \nrequested to be stashed.\n\n\nHow can I understand why does this happen?\n\n\nI believe that I've seen a similar situation before with different ports.\n\n\n\n\nThanks,\nYuri\n"}]}