git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: stash-p broken?

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jul 29, 2014, 02:59 UTC
Message-ID
<20140729025940.GA8640@vauxhall.crustytoothpaste.net>
In-Reply-To
<CAJWZfo741u8KqZax4ReTEg8hy1BKWR2_PofxAQtE4wU=ikRsPw@mail.gmail.com>
On Mon, Jul 28, 2014 at 05:56:28PM -0700, Michael Migdol wrote:
Show 11 quoted lines
> Sorry for error -- I meant: git stash list -p, not git stash -p.
> 
> On Mon, Jul 28, 2014 at 5:38 PM, Michael Migdol <michael-spam@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.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Michael MigdolNext: Øystein Walle
Message 3 of 12 in “stash-p broken?”
  1. Michael MigdolJul 29, 2014
  2. Michael MigdolJul 29, 2014
  3. brian m. carlsonJul 29, 2014
  4. Øystein WalleJul 29, 2014
  5. Jeff KingJul 29, 2014
  6. Junio C HamanoJul 29, 2014
  7. Jeff KingJul 29, 2014
  8. Junio C HamanoJul 29, 2014
  9. Jeff KingJul 31, 2014
  10. Junio C HamanoJul 31, 2014
  11. Junio C HamanoJul 29, 2014
  12. Jeff KingJul 31, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.