git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: Stash and Stash Pop Exit Codes
       [not found] <CALuTVP62fr4+r-df8QnMiD30MUoimTrCbiwpp8AQ6qzVwDPEkA@mail.gmail.com>
@ 2016-06-17 16:06 ` Alex
  0 siblings, 0 replies; only message in thread
From: Alex @ 2016-06-17 16:06 UTC (permalink / raw)
  To: git

I was wondering why git stash exits with a 0 code when it can't stash
anything and why git stash pop exits nonzero when it can't stash pop
anything. I was trying to script something and wanted to check if
anything was stashed before stash popping.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-17 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CALuTVP62fr4+r-df8QnMiD30MUoimTrCbiwpp8AQ6qzVwDPEkA@mail.gmail.com>
2016-06-17 16:06 ` Fwd: Stash and Stash Pop Exit Codes Alex

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).