diff options
author | Marcin Cieslak <saper@saper.info> | 2012-10-30 15:46:11 +0100 |
---|---|---|
committer | Marcin Cieslak <saper@saper.info> | 2012-10-30 15:46:11 +0100 |
commit | b744111c80609321e83ddb84975339eba6b89e3c (patch) | |
tree | 3cd3282780a0df24f7d91788b7be6ec3175e8875 /git-review.1 | |
parent | b4a9268301573ee0488f7db0433ac18adda69aeb (diff) | |
download | git-review-b744111c80609321e83ddb84975339eba6b89e3c.tar.gz |
Introduce base exception classes
GitReviewException:
Handle also exceptions that are
not related to the failed external
commands at toplevel.
ChangeSetException:
For exceptions not related to the
execution of the external command;
such an exception is associated
with a change set identifier.
Change-Id: I8d165d1dfee5ec4e61487565e90b033fb6f58acf
Diffstat (limited to 'git-review.1')
-rw-r--r-- | git-review.1 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/git-review.1 b/git-review.1 index 90c8620..bfc13f6 100644 --- a/git-review.1 +++ b/git-review.1 @@ -108,6 +108,18 @@ defaultremote=review defaultrebase=0 .Ed .Pp +.Sh DIAGNOSTICS +.Pp +Normally, exit status is 0 if executed successfully. +Exit status 1 indicates general error, sometimes more +specific error codes are available: +.Bl -tag -width 999 +.It 2 +Gerrit +.Ar commit-msg +hook could not be successfully installed. +.El +.Pp .Sh EXAMPLES To fetch a remote change number 3004: .Pp |