summaryrefslogtreecommitdiff
path: root/git-review.1
diff options
context:
space:
mode:
authorMarcin Cieslak <saper@saper.info>2012-10-30 15:46:11 +0100
committerMarcin Cieslak <saper@saper.info>2012-10-30 15:46:11 +0100
commitb744111c80609321e83ddb84975339eba6b89e3c (patch)
tree3cd3282780a0df24f7d91788b7be6ec3175e8875 /git-review.1
parentb4a9268301573ee0488f7db0433ac18adda69aeb (diff)
downloadgit-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.112
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