All of lore.kernel.org
 help / color / mirror / Atom feed
* "git stash pop" is doing an unwanted "git add" when there are conflicts.
@ 2015-12-21 14:29 Alan Mackenzie
  2015-12-21 20:34 ` Alan Mackenzie
  2015-12-22  8:17 ` Dennis Kaarsemaker
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Mackenzie @ 2015-12-21 14:29 UTC (permalink / raw)
  To: git

Hello, git project.

Last night, whilst clearing out a stale "stash stack", I did "git stash
pop".  There were conflicts in two files.

However, all the popped files became staged.  This doesn't normally happen.
It was intensely irritating, and required me to do "git reset HEAD" on
each of the files, none of which I wanted to commit.

I searched the git-stash man page for this scenario, but found nothing
about it.

Surely staging all the files is a bug?

-- 
Alan Mackenzie (Nuremberg, Germany).

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-12-30  7:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 14:29 "git stash pop" is doing an unwanted "git add" when there are conflicts Alan Mackenzie
2015-12-21 20:34 ` Alan Mackenzie
2015-12-22  8:17 ` Dennis Kaarsemaker
2015-12-22  9:30   ` Jeff King
2015-12-24  9:20     ` Alan Mackenzie
2015-12-29  7:53       ` Jeff King
2015-12-29 19:04         ` Junio C Hamano
2015-12-30  7:13           ` Jeff King
2015-12-29 21:20         ` Alan Mackenzie
2015-12-30  7:02           ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.