Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338586 - dev-vcs/git-1.7.3: `git stash show xxx` doesn't show anything
Summary: dev-vcs/git-1.7.3: `git stash show xxx` doesn't show anything
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 18:28 UTC by SpanKY
Modified: 2010-09-30 17:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2010-09-24 18:28:50 UTC
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!>



Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35.3 x86_64)
=================================================================
System uname: Linux-2.6.35.3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9900_@_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 24 Sep 2010 11:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3, 2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildsyspkg ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de en_GB en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/nouveau"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 asf aspell audiofile berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr chm cli console cracklib crypt css cups curl cvs cxx dbus doc dri dts dv dvb dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg firefox flac fontconfig fortran fpx gcj gd gdbm gif glitz glut gmp gphoto2 gpm graphviz gs gsm gtk gtk2 hal httpd iconv idea ieee1394 imagemagick iproute2 ipv6 irda jadetex javascript jbig joystick jpeg jpeg2k kde kerberos lame lcms ldap libcaca libnotify lirc live lzo mad madwifi matroska mikmod ming mjpeg mmx mmxext mng mod modplug modules mp3 mp4 mpeg mplayer mudflap multilib multislot mysql ncurses network nls nptl nptlonly nsplugin ntfs nvidia ogg openal openexr opengl openmp openntpd pam pango pcre pdf perl php png ppds pppd pulseaudio python qt qt3support qt4 readline reflection reiserfs rss rtsp samba sasl scanner sdl session shout skins slp smp sndfile snmp socks5 speex spell sql sqlite sse sse2 sse3 ssl startup-notification stream subversion svg sysfs tcl tcpd tga theora threads tiff tk truetype unicode upnp usb v4l v4l2 vcd vdr vorbis webkit wideband wifi wma wmf wxwindows x264 xanim xcb xcomposite xfs xine xinerama xinetd xml xorg xosd xpm xprint xrandr xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB en_US" LIRC_DEVICES="sir" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia nv vga sisusb" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-24 19:19:45 UTC
elevated to upstream.
Comment 2 Ian Abbott 2010-09-27 13:13:49 UTC
There were a couple of upstream commits recently to fix this, one to the change the test suite and another to fix the git stash command and reverse some of the previous change to the test suite.  These are commits 3fcb88785da831ad7d53cf18b4398099179c9c87 and 9027fa9eb7df606b6658dd48a40bb993ce222ddd respectively.

http://git.kernel.org/?p=git/git.git;a=commit;h=3fcb88785da831ad7d53cf18b4398099179c9c87
http://git.kernel.org/?p=git/git.git;a=commit;h=9027fa9eb7df606b6658dd48a40bb993ce222ddd
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-27 19:33:02 UTC
ian:
yes I know about them, I got spammed with all of them.
I expect Junio might drop a 1.7.3.1 shortly, and I'll pick that up.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-30 17:35:16 UTC
1.7.3.1 in tree since yesterday.