summaryrefslogtreecommitdiff
path: root/Git/Sha.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-02-24 19:40:14 -0400
committerJoey Hess <joey@kitenet.net>2014-02-24 19:40:14 -0400
commit878e7471fa09dcc36b478e1ac1fd305d5a90b7bf (patch)
treed552b8faa43078e3dfe1f8b10063ec566eced4e2 /Git/Sha.hs
parentd80c547a7d1261f158148ca85e627cc2ecb005f2 (diff)
downloadgit-repair-878e7471fa09dcc36b478e1ac1fd305d5a90b7bf.tar.gz
merge from git-annex
Diffstat (limited to 'Git/Sha.hs')
-rw-r--r--Git/Sha.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Git/Sha.hs b/Git/Sha.hs
index ee1b6d6..cbb66ea 100644
--- a/Git/Sha.hs
+++ b/Git/Sha.hs
@@ -37,3 +37,7 @@ shaSize = 40
nullSha :: Ref
nullSha = Ref $ replicate shaSize '0'
+
+{- Git's magic empty tree. -}
+emptyTree :: Ref
+emptyTree = Ref "4b825dc642cb6eb9a060e54bf8d69288fbee4904"