summaryrefslogtreecommitdiff
path: root/Git/Sha.hs
diff options
context:
space:
mode:
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'