mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 19:01:53 -04:00
Cleanup
This commit is contained in:
parent
33247e21b2
commit
d107cd4b42
1 changed files with 0 additions and 2 deletions
|
|
@ -3089,8 +3089,6 @@ DOC_PERMISSIONS_TEMPLATE ="# No permissions are currently defined for this workd
|
|||
# Validate ref names according to https://git-scm.com/docs/git-check-ref-format
|
||||
# This may be a bit overkill, since git validates names as well, but why not.
|
||||
def san_ref(ref):
|
||||
print(ref)
|
||||
|
||||
if ref.startswith("-"): return None
|
||||
if ref.startswith("/"): return None
|
||||
if ref.endswith("/"): return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue