X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=infra%2Fdgit-repos-policy-trusting;h=0620b704be8aa8c932e9ae4e2aa13e0f9ebabd32;hb=380552def4af93d4f299a706a9c01e8db2f725d0;hp=b550d012118e59f3c7633efb528c7a00bfafb79b;hpb=ed13a339560efb554f9afc9419ffd8157e357727;p=dgit.git diff --git a/infra/dgit-repos-policy-trusting b/infra/dgit-repos-policy-trusting index b550d012..0620b704 100755 --- a/infra/dgit-repos-policy-trusting +++ b/infra/dgit-repos-policy-trusting @@ -1,4 +1,13 @@ #!/bin/bash +# +# This is a genuine policy, not just one for testing. +# +# It allows anyone authorised to push to also, on demand: +# - wipe the repo and replace it with a new one +# (with --deliberately-fresh-repo) +# - do non-fast-forward pushes +# (with --deliberately-not-fast-forward) + set -e case "$DGIT_DRS_DEBUG" in