diff options
author | Santos Gallegos <stsewd@proton.me> | 2022-12-23 20:19:52 -0500 |
---|---|---|
committer | Santos Gallegos <stsewd@proton.me> | 2022-12-23 20:40:06 -0500 |
commit | e6108c7997f5c8f7361b982959518e982b973230 (patch) | |
tree | d3ae83312f7253192302ec1c71763c64eaa1d364 /git/exc.py | |
parent | 2625ed9fc074091c531c27ffcba7902771130261 (diff) | |
download | gitpython-e6108c7997f5c8f7361b982959518e982b973230.tar.gz |
Block unsafe options and protocols by default
Diffstat (limited to 'git/exc.py')
-rw-r--r-- | git/exc.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -37,8 +37,12 @@ class NoSuchPathError(GitError, OSError): """Thrown if a path could not be access by the system.""" -class UnsafeOptionsUsedError(GitError): - """Thrown if unsafe protocols or options are passed without overridding.""" +class UnsafeProtocolError(GitError): + """Thrown if unsafe protocols are passed without being explicitly allowed.""" + + +class UnsafeOptionError(GitError): + """Thrown if unsafe options are passed without being explicitly allowed.""" class CommandError(GitError): |