summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-16 17:39:54 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-16 17:39:54 -0400
commit083ab36d08569dd64a7ed94cdfd49753964c7bdd (patch)
tree27403db8f2304ada025dd8911d03df5801603861 /Git
parent16af107d2d573046ab09af964257cf3573889974 (diff)
filter branches (incomplete)
Promosing work toward metadata driven filter branches. A few methods to construct them are stubbed out; all the data types and pure code seems good. This commit was sponsored by Walter Somerville.
Diffstat (limited to 'Git')
-rw-r--r--Git/Sha.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Git/Sha.hs b/Git/Sha.hs
index ee1b6d669..cbb66ea2d 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"