diff options
Diffstat (limited to 'git/repo/fun.py')
| -rw-r--r-- | git/repo/fun.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/git/repo/fun.py b/git/repo/fun.py index 320eb1c8..4d852cfe 100644 --- a/git/repo/fun.py +++ b/git/repo/fun.py @@ -250,8 +250,8 @@ def rev_parse(repo, rev):              # empty output types don't require any specific type, its just about dereferencing tags              if output_type and obj.type != output_type: -                raise ValueError("Could not accomodate requested object type %r, got %s" % (output_type, obj.type)) -            # END verify ouput type +                raise ValueError("Could not accommodate requested object type %r, got %s" % (output_type, obj.type)) +            # END verify output type              start = end + 1                   # skip brace              parsed_to = start @@ -280,7 +280,7 @@ def rev_parse(repo, rev):          # END number parsing only if non-blob mode          parsed_to = start -        # handle hiererarchy walk +        # handle hierarchy walk          try:              if token == "~":                  obj = to_commit(obj) | 
