Skip to content

Commit d850976

Browse files
committed
Fix some typos
1 parent bb0f3d7 commit d850976

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

git/cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def deplete_buffer(fno, handler, buf_list, wg=None):
139139

140140
if hasattr(select, 'poll'):
141141
# poll is preferred, as select is limited to file handles up to 1024 ... . This could otherwise be
142-
# an issue for us, as it matters how many handles or own process has
142+
# an issue for us, as it matters how many handles our own process has
143143
poll = select.poll()
144144
READ_ONLY = select.POLLIN | select.POLLPRI | select.POLLHUP | select.POLLERR
145145
CLOSED = select.POLLHUP | select.POLLERR
@@ -726,7 +726,7 @@ def make_call():
726726
import warnings
727727
msg = "WARNING: Automatically switched to use git.cmd as git executable"
728728
msg += ", which reduces performance by ~70%."
729-
msg += "Its recommended to put git.exe into the PATH or to "
729+
msg += "It is recommended to put git.exe into the PATH or to "
730730
msg += "set the %s " % self._git_exec_env_var
731731
msg += "environment variable to the executable's location"
732732
warnings.warn(msg)

git/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def __init__(self, repo, name):
354354
# that it has the config_writer property, but instead calls __getattr__
355355
# which will not yield the expected results. 'pinging' the members
356356
# with a dir call creates the config_writer property that we require
357-
# ... bugs like these make me wonder wheter python really wants to be used
357+
# ... bugs like these make me wonder whether python really wants to be used
358358
# for production. It doesn't happen on linux though.
359359
dir(self)
360360
# END windows special handling

git/test/test_remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ def fetch_and_test(remote, **kwargs):
163163
def get_info(res, remote, name):
164164
return res["%s/%s" % (remote, name)]
165165

166-
# put remote head to master as it is garantueed to exist
166+
# put remote head to master as it is guaranteed to exist
167167
remote_repo.head.reference = remote_repo.heads.master
168168

169169
res = fetch_and_test(remote)
170-
# all uptodate
170+
# all up to date
171171
for info in res:
172172
assert info.flags & info.HEAD_UPTODATE
173173

0 commit comments

Comments
 (0)