git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] stash: expose untracked modes in create

From
重重田一聖 <kazumasa.shigeta@kanamei.com>
Date
Oct 10, 2026, 06:34 UTC
Message-ID
<CANUHOw0bc75HBqbvmbyeCMNF-2cJa3y5Km6MmwsiGTwHMwLULQ@mail.gmail.com>
In-Reply-To
<xmqqqzhyoftg.fsf@gitster.g>
> 'git stash create' does not have to be fully capable of doing
> so with the current topic alone, but do you agree that improving
> 'create' in such a way should be our long-term goal?
Yes, I agree.
> Shouldn't 'stash create --foo' work the same way as
> 'stash push --foo' while creating the stash entry, if '--foo' is
> not an option relevant only to 'stash store'?
Yes, that's exactly what I had in mind.
> If the wish is "we want to start small because thinking about
> each and every one of them and making sure they work correctly
> is too much work for my liking", I would understand.

Yes, that is what I meant. When you asked why I was singling out `-u` and `-a`, I went back and examined the other options. I'm glad I did. It helped me understand `stash create` better. Thank you for raising that question.

But when I tried to explain why I wanted to leave the other options out, I gave a poor reason. Sorry for the confusion.

With that in mind, I'd like to limit this patch to `-m/-q/-u/-a` and leave `--patch`, `--staged`, and pathspec support for follow-up patches. Does that sound reasonable?

Thanks, Kazumasa Shigeta

Previous: Junio C Hamano
Message 20 of 20 in “stash: expose untracked modes in create”
  1. stash: expose untracked modes in createKazumasa Shigeta, Sep 29, 2026
  2. Phillip WoodSep 29, 2026
  3. 重田一聖Oct 1, 2026
  4. Phillip WoodOct 5, 2026
  5. stash: expose untracked modes in createKazumasa Shigeta, Oct 1, 2026
  6. Patrick SteinhardtOct 1, 2026
  7. 重田一聖Oct 1, 2026
  8. Junio C HamanoOct 1, 2026
  9. Junio C HamanoOct 1, 2026
  10. 重田一聖Oct 2, 2026
  11. 重田一聖Oct 2, 2026
  12. 重田一聖Oct 5, 2026
  13. Phillip WoodOct 5, 2026
  14. 重田一聖Oct 6, 2026
  15. Phillip WoodOct 6, 2026
  16. 重田一聖Oct 8, 2026
  17. Junio C HamanoOct 5, 2026
  18. 重田一聖Oct 8, 2026
  19. Junio C HamanoOct 9, 2026
  20. 重田一聖Oct 10, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.