diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-24 19:41:43 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-24 19:41:46 +0200 |
commit | feb1ea0f4aacb9ea6dc4133900e65bf34c0ee02d (patch) | |
tree | 042d920af46e7a5774107e390a3962afa8390388 /lib/git/repo.py | |
parent | 55dcc17c331f580b3beeb4d5decf64d3baf94f2e (diff) | |
download | gitpython-feb1ea0f4aacb9ea6dc4133900e65bf34c0ee02d.tar.gz |
GitCmdStreamReader: fixed terrible bug which only kicked in if the stream was actually empty. This is a rare case that can happen during stream testing. Theoretically there shouldn't be any empty streams of course, but practically they do exist sometimes ;); fixed stream.seek implementation, which previously used seek on standard output
Improved GitCmd error handling
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r-- | lib/git/repo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py index 79275106..d665a40c 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -42,6 +42,7 @@ def is_git_dir(d): os.readlink(headref).startswith('refs')) return False + class Repo(object): """ Represents a git repository and allows you to query references, |