summaryrefslogtreecommitdiff
path: root/Git/Sha.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-06 17:24:03 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-06 17:24:03 -0400
commit9fb5f3edc7e0aec79e38cf588b66e66e4a2bdd3c (patch)
treed114c9c52685160c2e4c2244676cbd1f5563f9c4 /Git/Sha.hs
parent47646d44b7a391d9439998ba34498f2fb74b4259 (diff)
log --after=date
Diffstat (limited to 'Git/Sha.hs')
-rw-r--r--Git/Sha.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Git/Sha.hs b/Git/Sha.hs
index 9b3a34650..2a01ede83 100644
--- a/Git/Sha.hs
+++ b/Git/Sha.hs
@@ -34,3 +34,6 @@ extractSha s
{- Size of a git sha. -}
shaSize :: Int
shaSize = 40
+
+nullSha :: Ref
+nullSha = Ref $ replicate shaSize '0'