]> dgit.raspbian.org Git - git-annex.git/commitdiff
remove 127/128 exit status mention
authorJoey Hess <joeyh@joeyh.name>
Mon, 28 Feb 2022 17:26:26 +0000 (13:26 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 28 Feb 2022 17:26:26 +0000 (13:26 -0400)
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.

doc/git-annex.mdwn

index 7b557928af1e51d1ec62dee7309f27200e2ff9f9..c77adc71a8ea617b3802c4bf46eb99e06e5d7388 100644 (file)
@@ -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