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

Re: [PATCH] stash: Add --clean option to stash and remove all untracked files

From
David Caldwell <david@porkrind.org>
Date
Jun 22, 2011, 05:49 UTC
Message-ID
<FD779A88A6134648D999E7C7@black.porkrind.org>
On 6/21/11 5:23 PM -0400 Marc Branchaud wrote:
Show 9 quoted lines
> On 11-06-21 12:11 PM, Paul Ebermann wrote:
>>
>> I think `--also-untracked` sounds better. It is even longer, though.
>>
>> There could also be `--only-untracked`, which would stack only the
>> untracked files (and let changes of tracked files there).
>
> Perhaps -uall to match git-status's -u[<mode>] option (and also the long
> version thereof)?

Currently I'm playing with --include-untracked (-u) and --all (-a) while I fix a bug I found in the patch. I agree that --untracked sounds like it's only stashing the untracked files which isn't the case. I wasn't going to have an option to stash *just* the untracked files because I can't come up with a use case that makes sense. I still like "--clean", too.

-uall (like git status) isn't really the same thing which I think is confusing since it has the same name.

-David
Message 1 of 1 in “Re: [PATCH] stash: Add --clean option to stash and remove all untracked files”
  1. David CaldwellJun 22, 2011

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.