From 47ec11cbc45ade52b126f66de66b3bd4e215f9df Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Wed, 23 Jan 2019 16:48:29 -0500 Subject: [PATCH 1/2] okay it's back to where it was --- vendor/fused-effects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/fused-effects b/vendor/fused-effects index 0508ad36f..3154f6340 160000 --- a/vendor/fused-effects +++ b/vendor/fused-effects @@ -1 +1 @@ -Subproject commit 0508ad36f5a7a965b62205d38551863521520fea +Subproject commit 3154f63405094963c4f1fb566f367bee23e8cb72 From e69e2b114d2bad209d1ab7a459b9f5d507693fe7 Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Thu, 24 Jan 2019 12:04:40 -0500 Subject: [PATCH 2/2] Move the query functions into their own file --- src/Data/GitHub/Git.hs | 4 ++++ 1 file changed, 4 insertions(+) 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