From: <rsbecker@nexbridge.com>
To: <git@vger.kernel.org>
Subject: [BUG?] Confusion with git stash list
Date: Fri, 21 Jul 2023 11:54:34 -0400 [thread overview]
Message-ID: <046c01d9bbeb$a8680bc0$f9382340$@nexbridge.com> (raw)
Hi Team,
When using git stash list --all, I end up with every commit showing up in
the list of stash entries. I do not know whether this is intended.
It is simple to set up. You do need at least one stash, but the contents are
irrelevant. So given any repository, use git stash push. Then use git stash
list --all.
When no stashes exist, nothing is output:
$ git stash list --all
When adding a stash (the type of stash does not matter):
$ touch test1
$ git stash push -u
$ git stash list --all
stash@{0}: WIP on PROJ-710-allow-sub-volumes-to-split-arbitrary: 6909776a
t2406: add pattern sync test
HEAD@{0}: reset: moving to HEAD
stash@{0}: WIP on PROJ-710-allow-sub-volumes-to-split-arbitrary: 6909776a
t2406: add pattern sync test
origin/ PROJ-710-allow-sub-volumes-to-split-arbitrary@{0}: push:
forced-update
PROJ-710-allow-sub-volumes-to-split-arbitrary@{0}: commit: t2406: add
pattern sync test
HEAD@{1}: commit: t2406: add pattern sync test
origin/PROJ-710-allow-sub-volumes-to-split-arbitrary@{1}: update by push
PROJ-710-allow-sub-volumes-to-split-arbitrary@{1}: rebase (finish):
refs/heads/PROJ-710-allow-sub-volumes-to-split-arbitrary onto
fea6b45d8671660014d84f5b4538d66c1b91deab
HEAD@{2}: rebase (finish): returning to
refs/heads/PROJ-710-allow-sub-volumes-to-split-arbitrary
HEAD@{3}: rebase (fixup): PROJ-710: Prototype structure for mapping multiple
directories to a subvolume
HEAD@{4}: rebase (fixup): # This is a combination of 17 commits.
HEAD@{5}: rebase (fixup): # This is a combination of 16 commits.
HEAD@{6}: rebase (fixup): # This is a combination of 15 commits.
HEAD@{7}: rebase (fixup): # This is a combination of 14 commits.
HEAD@{8}: rebase (fixup): # This is a combination of 13 commits.
HEAD@{9}: rebase (fixup): # This is a combination of 12 commits.
etc...
This happens in 2.39.0.
Thanks,
Randall
--
Brief whoami: NonStop&UNIX developer since approximately
UNIX(421664400)
NonStop(211288444200000000)
-- In real life, I talk too much.
next reply other threads:[~2023-07-21 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-21 15:54 rsbecker [this message]
2023-07-21 16:09 ` [BUG?] Confusion with git stash list Chris Torek
2023-07-21 16:33 ` Junio C Hamano
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='046c01d9bbeb$a8680bc0$f9382340$@nexbridge.com' \
--to=rsbecker@nexbridge.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;
as well as URLs for NNTP newsgroup(s).