chiark / gitweb /
Policy hook protocol: define bits in hex (nfc)
[dgit.git] / Debian / Dgit.pm
index c39ff72e6e2c9e388f3c0a473244f42b02500e38..1ab65a8f24c6fd1da07d25bd03e1916f81f16f4d 100644 (file)
@@ -29,9 +29,9 @@ our $branchprefix = 'dgit';
 # policy hook exit status bits
 # see dgit-repos-server head comment for documentation
 # 1 is reserved in case something fails with `exit 1'
-sub NOFFCHECK () { return 2; }
-sub FRESHREPO () { return 4; }
-# 128 is reserved
+sub NOFFCHECK () { return 0x2; }
+sub FRESHREPO () { return 0x4; }
+# 0x80 is reserved
 
 sub debiantag ($) { 
     my ($v) = @_;