diff --git a/hgitaly/git.py b/hgitaly/git.py index a6a701a0819722c394675fa4f94863e4fe96083d_aGdpdGFseS9naXQucHk=..1602a9e441a21f7bb825018c3de76bf98f661ca8_aGdpdGFseS9naXQucHk= 100644 --- a/hgitaly/git.py +++ b/hgitaly/git.py @@ -14,4 +14,6 @@ # from `sha1-file.c` in Git 2.28 sources # we're not dealing for now with the fact that there will be # two kinds of OIDs with SHA-1 and SHA-256 soon. + +# The Git tree object hash that corresponds to an empty tree (directory) EMPTY_TREE_OID = '4b825dc642cb6eb9a060e54bf8d69288fbee4904' @@ -17,4 +19,6 @@ EMPTY_TREE_OID = '4b825dc642cb6eb9a060e54bf8d69288fbee4904' + +# The Git blob object hash that corresponds to an empty blob (file) EMPTY_BLOB_OID = 'e69de29bb2d1d6434b8b29ae775ad8c2e48c5391' OBJECT_MODE_LINK = 0o120000 # symlink to file or directory