Skip to content
Snippets Groups Projects
Commit 46ce819f authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

hashutil: add `snapshot` object type for git hashes

parent 94bd8dd5
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,7 @@ def hash_git_data(data, git_type, base_algo='sha1'):
ValueError if the git_type is unexpected.
"""
git_object_types = {'blob', 'tree', 'commit', 'tag'}
git_object_types = {'blob', 'tree', 'commit', 'tag', 'snapshot'}
if git_type not in git_object_types:
raise ValueError('Unexpected git object type %s, expected one of %s' %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment