From: Joey Hess Date: Mon, 28 Feb 2022 17:26:26 +0000 (-0400) Subject: remove 127/128 exit status mention X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~2^2^2~53^2~190 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d433d76a37aec2dfec4fb0c7bed45dbad53ccda;p=git-annex.git remove 127/128 exit status mention I cannot find any indication that git-annex uses these exit statuses, and I see I didn't write this doc so I don't know where those numbers came from. Odd. --- diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 7b557928af..c77adc71a8 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1896,11 +1896,12 @@ effect. # EXIT STATUS -git-annex, when called as a git subcommand, may return exit codes 0 or 1 -for success or failures, or, more rarely, 127 or 128 for certain very -specific failures. git-annex itself should return 0 on success and 1 on -failure, unless the `--size-limit` or `--time-limit` option is hit, in -which case it return exit code 101. +git-annex itself will exit 0 on success and 1 on failure, unless +the `--size-limit` or `--time-limit` option is hit, in +which case it exits 101. + +A few git-annex subcommands have other exit statuses used to indicate +specific problems, which are documented on their individual man pages. # ENVIRONMENT