summaryrefslogtreecommitdiff
path: root/linters
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-06-21 12:26:19 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-27 08:01:03 -0400
commitd7b0642beb31799b0290ed87f3b731ab70a2617f (patch)
tree79f5ef9c0fbea6de282b1f6d2691b14cd295cc0b /linters
parent4713abc269953d37ca8c94eafb1d3b9968441ac8 (diff)
downloadhaskell-d7b0642beb31799b0290ed87f3b731ab70a2617f.tar.gz
linters: Fix lint-submodule-refs when crashing trying to find plausible branches
Diffstat (limited to 'linters')
-rw-r--r--linters/lint-submodule-refs/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/linters/lint-submodule-refs/Main.hs b/linters/lint-submodule-refs/Main.hs
index f99f066da0..a59ea2b993 100644
--- a/linters/lint-submodule-refs/Main.hs
+++ b/linters/lint-submodule-refs/Main.hs
@@ -67,7 +67,7 @@ main = do
when (not $ null wip) $ do
T.putStrLn " Found the following non-mirrored WIP branches:"
forM_ wip $ \branch -> do
- commit <- gitNormCid smAbsPath branch
+ commit <- gitNormCid smAbsPath ("origin/" <> branch)
T.putStrLn $ " - " <> branch <> " -> " <> commit
T.putStrLn ""
pure bad