mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-25 09:26:24 -05:00
Cleanup
This commit is contained in:
parent
70db2c5369
commit
6551a25877
1 changed files with 0 additions and 1 deletions
|
|
@ -34,7 +34,6 @@ import RNS
|
|||
# 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):
|
||||
RNS.log(f"SAN REF: {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