Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-09-06 20:51:34 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2022-09-10 16:04:28 +0300
commit76ac02f65feb240a8f4d2eef110533c31e7417e3 (patch)
tree60deefe4e3b7a8c866e61a44003530de76c923a2
parent9395d1743960f7418acb8d9545da777188cefa55 (diff)
mkgitolite: Limit branch names maintainer can create/fast-forward
Limit the branch names a package maintainer can create/fast-forward to just 'master' (and 'playground'), to avoid a 'git push' to 'typoed-branch-name' succeeding.
-rwxr-xr-xcalm/mkgitoliteconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/mkgitoliteconf.py b/calm/mkgitoliteconf.py
index 7b52dea..3c7f53f 100755
--- a/calm/mkgitoliteconf.py
+++ b/calm/mkgitoliteconf.py
@@ -94,7 +94,7 @@ def do_main(args):
print("repo git/cygwin-packages/%s" % (p))
print("C = %s @leads" % (users))
- print("RW = %s" % (users))
+ print("RW master$ = %s" % (users))
print("owner = %s" % (owner))
print("")