aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar anarcat <anarcat@web>2015-06-23 16:56:03 +0000
committerGravatar admin <admin@branchable.com>2015-06-23 16:56:03 +0000
commitf242bcc0e2c2d00f2338c5c1cafbe644611f9420 (patch)
treeb5708cdcf0130ba1aef45f6cc343bc588b841428 /doc/git-annex.mdwn
parent79b1768260a05b186cabd8100ee2fdc66652cde3 (diff)
explicitely describe exit status in the standard section
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index c90ef5ec2..45b02ec66 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -1239,6 +1239,14 @@ Also note that when using views, only the toplevel .gitattributes file is
preserved in the view, so other settings in other files won't have any
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 `--time-limit=time` option is hit, in which case it
+returns with exit code 101.
+
# FILES
These files are used by git-annex: