Skip to content

Commit e984bfe

Browse files
committed
Fix some underindented portions of docstrings
A few docstrings had parts that were meant to be indented the usual four spaces beyond the surrounding indentation, but were indented only three spaces beyond it instead.
1 parent 9f226fc commit e984bfe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

git/cmd.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -850,10 +850,10 @@ def __init__(self, working_dir: Union[None, PathLike] = None):
850850
"""Initialize this instance with:
851851
852852
:param working_dir:
853-
Git directory we should work in. If ``None``, we always work in the current
854-
directory as returned by :func:`os.getcwd`.
855-
This is meant to be the working tree directory if available, or the
856-
``.git`` directory in case of bare repositories.
853+
Git directory we should work in. If ``None``, we always work in the current
854+
directory as returned by :func:`os.getcwd`.
855+
This is meant to be the working tree directory if available, or the
856+
``.git`` directory in case of bare repositories.
857857
"""
858858
super().__init__()
859859
self._working_dir = expand_path(working_dir)
@@ -1103,8 +1103,8 @@ def execute(
11031103
:raise git.exc.GitCommandError:
11041104
11051105
:note:
1106-
If you add additional keyword arguments to the signature of this method,
1107-
you must update the ``execute_kwargs`` variable housed in this module.
1106+
If you add additional keyword arguments to the signature of this method, you
1107+
must update the ``execute_kwargs`` variable housed in this module.
11081108
"""
11091109
# Remove password for the command if present.
11101110
redacted_command = remove_password_if_present(command)
@@ -1438,7 +1438,7 @@ def _call_process(
14381438
14391439
turns into::
14401440
1441-
git rev-list max-count 10 --header master
1441+
git rev-list max-count 10 --header master
14421442
14431443
:return:
14441444
Same as :meth:`execute`. If no args are given, used :meth:`execute`'s

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy