summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 0bf0fee4..8f79db0d 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -192,12 +192,12 @@ class Git(LazyMixin):
# Provide the full path to the git executable. Otherwise it assumes git is in the path
_git_exec_env_var = "GIT_PYTHON_GIT_EXECUTABLE"
GIT_PYTHON_GIT_EXECUTABLE = None
- # note that the git executable is actually found during the setup step in
+ # note that the git executable is actually found during the refresh step in
# the top level __init__
@classmethod
def refresh(cls, path=None):
- """This gets called by the setup function (see the top level __init__).
+ """This gets called by the refresh function (see the top level __init__).
"""
# discern which path to refresh with
if path is not None:
@@ -223,11 +223,11 @@ class Git(LazyMixin):
Bad git executable. The git executable must be specified in one of the following ways:
(1) be included in your $PATH, or
(2) be set via $GIT_PYTHON_GIT_EXECUTABLE, or
- (3) explicitly set via git.setup (or git.refresh).
+ (3) explicitly set via git.refresh.
""")
if old_git is None:
- # on the first setup (when GIT_PYTHON_GIT_EXECUTABLE is
+ # on the first refresh (when GIT_PYTHON_GIT_EXECUTABLE is
# None) we only warn the user and simply set the default
# executable
cls.GIT_PYTHON_GIT_EXECUTABLE = cls.git_exec_name
@@ -267,7 +267,7 @@ class Git(LazyMixin):
raise ImportError(err)
else:
- # after the first setup (when GIT_PYTHON_GIT_EXECUTABLE
+ # after the first refresh (when GIT_PYTHON_GIT_EXECUTABLE
# is no longer None) we raise an exception and reset the
# GIT_PYTHON_GIT_EXECUTABLE to whatever the value was
# previously