Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] buitin_config: return postitive status in get_value

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:23

Nguyen Thai Ngoc Duy [off-list ref] writes:
On Mon, Jul 30, 2012 at 3:43 AM, Junio C Hamano [off-list ref] wrote:
quoted
+. You use '--global' option without $HOME being properly set (ret=128),
+. Any other errors (ret=7).
To be pedantic, ret=128 is a result of die() and not setting $HOME is
just one of them. There's also ret=129 for usage(), which is not
documented. So maybe we can make it clear that we document some exit
codes, but not all of them.
quoted
-This command will fail (with exit code ret) if:
+This command will fail with non-zero status if:
"This command will fail with non-zero status. Some important exit codes are:"
Sounds good; will squash in.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help