Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: suggestion for git stash

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:37

Possibly related (same subject, not in this thread)

Hi,

On Sun, 30 Sep 2007, Bruno Haible wrote:
I don't know what "git stash apply --index" does, since it's not 
documented.
It's documented in code ;-)

No, really, what it does is trying to reinstate not only the working 
tree's changes, but also the index' ones.  However, this can fail, when 
you have conflicts (which are stored in the index, where you therefore can 
no longer apply the changes as they were originally).

Now that you know what --index is supposed to do, maybe you are nice 
enough to extend the documentation and post a patch?

Thanks,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help