Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix some typos
  • Loading branch information
teeberg committed Jan 22, 2015
commit 1287f69b42fa7d6b9d65abfef80899b22edfef55
4 changes: 2 additions & 2 deletions git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def deplete_buffer(fno, handler, buf_list, wg=None):

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
Expand Down Expand Up @@ -731,7 +731,7 @@ def make_call():
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)
Expand Down
2 changes: 1 addition & 1 deletion git/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def __init__(self, repo, name):
# 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
Expand Down
4 changes: 2 additions & 2 deletions git/test/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ def fetch_and_test(remote, **kwargs):
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

Expand Down