summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/cmd.py4
-rw-r--r--git/remote.py2
-rw-r--r--git/test/test_remote.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 55ed74dd..ef347925 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -139,7 +139,7 @@ def handle_process_output(process, stdout_handler, stderr_handler, finalizer):
if hasattr(select, 'poll'):
# poll is preferred, as select is limited to file handles up to 1024 ... . This could otherwise be
- # an issue for us, as it matters how many handles or own process has
+ # an issue for us, as it matters how many handles our own process has
poll = select.poll()
READ_ONLY = select.POLLIN | select.POLLPRI | select.POLLHUP | select.POLLERR
CLOSED = select.POLLHUP | select.POLLERR
@@ -731,7 +731,7 @@ class Git(LazyMixin):
import warnings
msg = "WARNING: Automatically switched to use git.cmd as git executable"
msg += ", which reduces performance by ~70%."
- msg += "Its recommended to put git.exe into the PATH or to "
+ msg += "It is recommended to put git.exe into the PATH or to "
msg += "set the %s " % self._git_exec_env_var
msg += "environment variable to the executable's location"
warnings.warn(msg)
diff --git a/git/remote.py b/git/remote.py
index fcec5228..c176b43b 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -354,7 +354,7 @@ class Remote(LazyMixin, Iterable):
# that it has the config_writer property, but instead calls __getattr__
# which will not yield the expected results. 'pinging' the members
# with a dir call creates the config_writer property that we require
- # ... bugs like these make me wonder wheter python really wants to be used
+ # ... bugs like these make me wonder whether python really wants to be used
# for production. It doesn't happen on linux though.
dir(self)
# END windows special handling
diff --git a/git/test/test_remote.py b/git/test/test_remote.py
index d4a92ed4..bf2f76a8 100644
--- a/git/test/test_remote.py
+++ b/git/test/test_remote.py
@@ -163,11 +163,11 @@ class TestRemote(TestBase):
def get_info(res, remote, name):
return res["%s/%s" % (remote, name)]
- # put remote head to master as it is garantueed to exist
+ # put remote head to master as it is guaranteed to exist
remote_repo.head.reference = remote_repo.heads.master
res = fetch_and_test(remote)
- # all uptodate
+ # all up to date
for info in res:
assert info.flags & info.HEAD_UPTODATE