From 13a6a20716d33e66bcd1eb39c2f081e2671e1cb5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 May 2024 13:52:58 -0400 Subject: [PATCH] fix --is-ancestor option --- Git/Ref.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Git/Ref.hs b/Git/Ref.hs index fd7d2da0c8..2767ae339c 100644 --- a/Git/Ref.hs +++ b/Git/Ref.hs @@ -218,7 +218,7 @@ tree (Ref ref) = extractSha <$$> pipeReadStrict isAncestor :: Ref -> Ref -> Repo -> IO Bool isAncestor r1 r2 = runBool [ Param "merge-base" - , Param "--ancestor" + , Param "--is-ancestor" , Param (fromRef r1) , Param (fromRef r2) ]