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

Re: git pull fails to exit with non-zero status after fatal error

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:58

Possibly related (same subject, not in this thread)

Hi,

On Sat, 3 Mar 2007, Shawn O. Pearce wrote:
Johannes Schindelin [off-list ref] wrote:
quoted
On Sat, 3 Mar 2007, Junio C Hamano wrote:
quoted
-	finish "$new_head" "Fast forward"
+	finish "$new_head" "Fast forward" || exit
Doesn't "exit" default to "exit 0"?
No, it carries the exit status of the prior failed command if the
prior command failed.  ;-)
You live and learn, live and learn...

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