summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-06-21 12:26:19 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-06-21 12:26:19 +0100
commitbb47519c963954eeff7842b0606a965a4a68b9e7 (patch)
tree3e43fb27baf7b928b4823c36e1af67483854a7b2
parent00f8e68ebe6ebd15197674df53c44c1e3558ff97 (diff)
downloadhaskell-wip/bump-9.4-versions.tar.gz
linters: Fix lint-submodule-refs when crashing trying to find plausible brancheswip/bump-9.4-versions
-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