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

Re: [PATCH 1/2] git-submodule: move cloning into a separate function

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:43:14

Lars Hjemli wrote:
+               module_clone "$path" "$url" || exit $?
Minor nit: The idiom that is commonly used in situations like this (see
other git-* shell scripts):

		module_clone "$path" "$url" || exit

because exit without argument uses the code of the last command
executed.

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