Skip to content

Commit 1287f69

Browse files
committed
Fix some typos
1 parent d565a87 commit 1287f69

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
ifhasattr(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
@@ -731,7 +731,7 @@ def make_call():
731731
importwarnings
732732
msg="WARNING: Automatically switched to use git.cmd as git executable"
733733
msg+=", which reduces performance by ~70%."
734-
msg+="Its recommended to put git.exe into the PATH or to "
734+
msg+="It is recommended to put git.exe into the PATH or to "
735735
msg+="set the %s "%self._git_exec_env_var
736736
msg+="environment variable to the executable's location"
737737
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
defget_info(res, remote, name):
164164
returnres["%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
forinfoinres:
172172
assertinfo.flags&info.HEAD_UPTODATE
173173

0 commit comments

Comments
(0)