summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-03-17 17:49:09 +0800
committerGitHub <noreply@github.com>2021-03-17 17:49:09 +0800
commit6643a9feb39d4d49c894c1d25e3d4d71e180208a (patch)
tree002c4c12c1da90f1889672942cdb500ad0dce47d /git/cmd.py
parent690722a611a25a1afcdb0163d3cfd0a8c89d1d04 (diff)
parentc93e971f3e0aa4dea12a0cb169539fe85681e381 (diff)
downloadgitpython-6643a9feb39d4d49c894c1d25e3d4d71e180208a.tar.gz
Merge pull request #1202 from Yobmod/main
Add more types
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/cmd.py b/git/cmd.py
index ec630d93..0395a708 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -210,7 +210,7 @@ class Git(LazyMixin):
# - a GitCommandNotFound error is spawned by ourselves
# - a PermissionError is spawned if the git executable provided
# cannot be executed for whatever reason
-
+
has_git = False
try:
cls().version()
@@ -498,7 +498,7 @@ class Git(LazyMixin):
# skipcq: PYL-E0301
def __iter__(self):
return self
-
+
def __next__(self):
return self.next()
@@ -639,7 +639,7 @@ class Git(LazyMixin):
:param env:
A dictionary of environment variables to be passed to `subprocess.Popen`.
-
+
:param max_chunk_size:
Maximum number of bytes in one chunk of data passed to the output_stream in
one invocation of write() method. If the given number is not positive then