Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] Allow update hooks to update refs on their own

From: Steven Grimm <hidden>
Date: 2016-06-15 22:43:54

On Nov 27, 2007, at 1:21 PM, Jakub Narebski wrote:
quoted
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help