From: Steven Grimm Date: Tue, 27 Nov 2007 21:23:50 GMT Subject: Re: [PATCH] Allow update hooks to update refs on their own Message-ID: In-Reply-To: On Nov 27, 2007, at 1:21 PM, Jakub Narebski wrote: >> +The hook may optionally choose to update the ref on its own, e.g., >> +if it needs to modify incoming revisions in some way. If it updates >> +the ref, it should exit with a status of 100. > > Why 100, and not for example 127, 128 or -1? Because those seemed much more likely to be used by existing hook scripts to denote an error condition, and I wanted to reduce the chance that this would break existing scripts. -Steve