fix build warning
authorJoey Hess <joeyh@joeyh.name>
Mon, 21 Jul 2025 16:25:17 +0000 (12:25 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 21 Jul 2025 16:25:17 +0000 (12:25 -0400)
Annex/Fixup.hs

index 6d536f9f3d968f23bb0a91060f81d397dc7a48d9..1e245668f34ec2c6b6917d327ea4100118cc3000 100644 (file)
@@ -93,7 +93,7 @@ fixupDirect r = r
  - use yet. Except, do set mainWorkTreePath.
  -}
 fixupUnusualRepos :: Repo -> GitConfig -> IO Repo
-fixupUnusualRepos r@(Repo { location = l@(Local { worktree = Just w, gitdir = d }) }) c
+fixupUnusualRepos r@(Repo { location = Local { worktree = Just w, gitdir = d } }) c
        | isNothing (annexVersion c) =
                ifM (needsGitLinkFixup r)
                        ( setworktreepath r