git-1.7.3 breakage: "git stash show xxx" doesn't show anything
- From
Robin H. Johnson <robbat2@gentoo.org>
- Date
- Sep 24, 2010, 19:19 UTC
- Message-ID
- <robbat2-20100924T191752-102740530Z@orbis-terrarum.net>
Downstream bug: http://bugs.gentoo.org/338586
telling git-stash to show a specific stash no longer works with git-1.7.3:
git stash show stash@{0}
<no output!?>Downgrading to dev-vcs/git-1.7.2.3 and it works fine. Noticed on two stable amd64 systems.
Reproduction:
$ rm -rf foo && mkdir foo && cd foo
$ git init
Initialized empty Git repository in /home/vapier/foo/.git/
$ echo f > f && git add f && git commit -qmm
$ > f
$ git stash
Saved working directory and index state WIP on master: d287dea m
HEAD is now at d287dea m
$ git stash list | cat
stash@{0}: WIP on master: d287dea m
$ git stash show | cat
f | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
$ git stash show stash@{0} | cat
<nothing!>-- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85