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

BUG: Use GNU Short Option Style "clumping" rules not obeyed for `git stash`

From
DNDamian Nowak <spam@nowaker.net>
Date
Aug 20, 2016, 01:02 UTC
Message-ID
<CAOmGACJqhGgme9Zy7C8TuA7npsmj1E2=SBptDc5_ar3vCb2tPg@mail.gmail.com>

``` % git stash -ku error: unknown option for 'stash save': -ku (...) % git stash -k -u Saved working directory and index state WIP on master: (...) (...) ```

In other parts of git, clumping (as defined by [GNU Short Option Style guide](https://www.gnu.org/software/tar/manual/html_node/Short-Options.html#SEC37)) works, for example:

-v for verbose, -m for message:
```
% git commit -vm 'xd'
[master a560195] xd
 1 file changed, 91 insertions(+), 51 deletions(-)
 rewrite spec/actions/hosting/meta_machine/upgrade_plan_spec.rb (96%)
```
-q for quiet, -m for message
```
% git commit -qm 'xd'
(no output)
```
-- 
Kind regards
Damian Nowak
Message 1 of 1 in “BUG: Use GNU Short Option Style "clumping" rules not obeyed for `git stash`”
  1. Damian NowakAug 20, 2016

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.