home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] can "git stash show" distinguish between staged and unstaged changes?

  • Subject: Re: [OCLUG-Tech] can "git stash show" distinguish between staged and unstaged changes?
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Thu, 7 May 2015 07:54:13 -0400 (EDT)
On Thu, 7 May 2015, Alex Pilon wrote:

> On Thu, May 07, 2015 at 06:13:23AM -0400, Robert P. J. Day wrote:
> >   yet another question i should know the answer to but don't -- is
> > there a way to distinguish between the staged and unstaged changes in
> > a stash entry with "git stash show"?
>
>     git stash show -p?

  but AFAICT, that shows only the *totality* of the stash -- both
staged and unstaged changes, no? i was wondering if there was a way to
display what was in each category separately. after all, that
information has to be stored *somewhere* since it can be processed
when applying the stash in the future.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================