diff --git a/src/Data/GitHub/Git.hs b/src/Data/GitHub/Git.hs index 16ca00e39..55f97bf6d 100644 --- a/src/Data/GitHub/Git.hs +++ b/src/Data/GitHub/Git.hs @@ -4,6 +4,7 @@ module Data.GitHub.Git ( OID (..) , Ref (..) , SHA (..) + , nullSHA ) where import Prologue @@ -21,3 +22,6 @@ newtype Ref = Ref Text newtype SHA = SHA Text deriving stock (Eq, Show, Ord) deriving newtype (MessageField, Primitive) + +nullSHA :: SHA +nullSHA = SHA mempty