git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Bug: "git status --porcelain --show-stash" does not show stash count
@ 2017-12-11  0:13 Eric Duncan
  0 siblings, 0 replies; only message in thread
From: Eric Duncan @ 2017-12-11  0:13 UTC (permalink / raw)
  To: git

Using:

   $ git version
    git version 2.15.1

Running without --porcelain shows the correct stash count:

    $ git status --show-stash
    On branch feature-Enable-Unmarshaling-Support
    Untracked files:
      (use "git add <file>..." to include in what will be committed)

            testdata/

    nothing added to commit but untracked files present (use "git add" to track)
    Your stash currently has 1 entry

Notice the last line in that output, "Your stash currently has 1 entry."

But the output when adding --porcelain does not output anything for
stash counts:

    $ git status --porcelain --show-stash
    ?? testdata/

Version 2 does not either:

    $ git status --porcelain=2 --show-stash
    ? testdata/

Also, the --short option seems to be a shortcut to --porcelain with
color coding (and still doesn't show the stash count):

    $ git status --short --show-stash
    ?? testdata/

I would expect something like "SS 1" or "S  1" to show stashes with a
count of 1.

Thanks!
Eric

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-11  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-11  0:13 Bug: "git status --porcelain --show-stash" does not show stash count Eric Duncan

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).