Git development
 help / color / mirror / Atom feed
From: Yuri <yuri@rawbw.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: 'git stash' pushes files that are not listed in the command line
Date: Fri, 31 Jul 2026 00:49:58 -0700	[thread overview]
Message-ID: <334fa4a8-1a84-4528-8f8f-9b1e9607bb75@rawbw.com> (raw)

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

                 reply	other threads:[~2026-07-31  8:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=334fa4a8-1a84-4528-8f8f-9b1e9607bb75@rawbw.com \
    --to=yuri@rawbw.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox