From: Øystein Walle Date: Tue, 29 Jul 2014 06:45:24 GMT Subject: Re: stash-p broken? Message-ID: In-Reply-To: <20140729025940.GA8640@vauxhall.crustytoothpaste.net> brian m. carlson crustytoothpaste.net> writes: > > On Mon, Jul 28, 2014 at 05:56:28PM -0700, Michael Migdol wrote: > > Sorry for error -- I meant: git stash list -p, not git stash -p. > > > > On Mon, Jul 28, 2014 at 5:38 PM, Michael Migdol migdol.net> wrote: > > > I recently upgraded from Ubuntu 13.10 to Ubuntu 14.04. After doing so, > > > "git stash -p" stopped working. (It apparently is ignoring the -p > > > parameter). I'm not sure what version I was using previously, but after > > > some experimentation, I see that: > > > > > > version 1.7.12.2 : stash -p DOES work > > > version 1.9.3 : doesn't work > > > version 2.0.3 : doesn't work > > Under the hood, we do: > > git log --format="%gd: %gs" -g "$ " refs/stash -- > > But it looks like git log ignores -p if -g is provided. > Unfortunately I don't have much to add... I have a weird issue where `git stash list -p` does not show a diff, but `~/usr/bin/git stash list -p` does, for the exact same version of Git. However, the underlying command does not show a diff in either case, even though I can tell that is the one being executed (with set -x inserted into .../libexec/git-stash). This is so weird that I think it's my system's fault. I have to do some more digging. Øsse