packages feed

git-mediate

Tool to help resolving git conflicts

view on Hackage

Git conflict resolution has never been easier When encountering a conflict, you can sometimes imagine: if only I could have applied one of these patches BEFORE the other rather than concurrently, I wouldn't be in this mess! Well, with git-mediate, you can! In any conflicted state - git-mediate shows you the 2 diffs involved. By applying these diffs to the base version and the other version, you emulate the situation where the patch had already existed when the other had been applied. Reapply git-mediate, it will validate that you've indeed applied it correctly, and bam: conflict disappeared! Git-mediate also lets you handle modify/delete conflicts (there's no sane way in git to show what the modification actually was) Git-mediate also streamlines jumping to the conflicts with your editor, either with the `-e` option to invoke your editor, or via the standard line number format, which is parsed by all major editors, to allow use of "jump to next error" keys. Git-mediate especially shines with automatic source transformation tools such as renamers. In a conflicted state, re-apply a rename that caused the conflict, run git-mediate without opening any files, and the conflicts are gone!
versionuploadeduploaderchanges
1.2.02026-08-19 21:22 UTCYairChuchem+67/−35 lines, 9 filesnew-uploader
1.1.02024-09-20 11:52 UTCEyalLotem+586/−251 lines, 15 filesdep +containersdep +splitdep ~base
1.0.92023-07-25 11:21 UTCEyalLotem+457/−192 lines, 11 filesdep +generic-data
1.0.8.12020-10-13 11:05 UTCEyalLotem+19/−20 lines, 6 filesdep ~base-compatdep ~optparse-applicative
1.0.82020-01-07 10:08 UTCEyalLotem+7/−2 lines, 3 files
1.0.72020-01-07 08:39 UTCEyalLotem+7/−3 lines, 3 filesdep ~Diff
1.0.62020-01-07 08:25 UTCEyalLotem+237/−131 lines, 9 filessetup-changed
1.0.52018-07-24 22:17 UTCEyalLotem+46/−4 lines, 2 files
1.0.42018-07-24 22:04 UTCEyalLotem+607/−604 lines, 19 filesdep +unix-compatdep −unixdep ~base-compat
1.0.32017-06-14 08:35 UTCEyalLotem+2/−2 lines, 1 filesdep ~optparse-applicative
1.0.22017-01-10 09:44 UTCEyalLotem+300/−220 lines, 8 files
1.0.12016-12-26 20:37 UTCEyalLotem1 revisions+13/−5 lines, 3 filesdep ~base
1.02016-12-20 18:27 UTCEyalLotem1 revisions+899/−0 lines, 6 filesdep +Diffdep +ansi-terminaldep +basesetup-changed

Dependencies of git-mediate-1.2.0

Diff >=0.4 2.0.0 → 2.0.1
2026-09-06 17:03 UTC2.0.1+13/−6 lines, 3 filesdep +Diffdep +QuickCheckdep +array
2026-09-04 15:04 UTC2.0.0+1129/−193 lines, 10 filesdep −Diffdep −QuickCheckdep −array
2024-11-15 17:54 UTC1.0.2+35/−20 lines, 4 filesPVP ok
2024-11-06 19:45 UTC1.0.1.1+34/−17 lines, 2 filesdep +Diffdep −semigroupsPVP ok
2024-11-03 15:14 UTC1.0.1+30/−2 lines, 3 filesPVP ok

showing 5 of 19 versions

ansi-terminal >=0.6.2 1.1.4 → 1.1.5
2025-12-26 15:19 UTC1.1.5+17/−1 lines, 2 filesPVP ok
2025-12-07 20:14 UTC1.1.4+85/−32 lines, 5 filesPVP ok
2025-07-18 20:35 UTC1.1.3+10/−407 lines, 3 filesdep ~ansi-terminal-typesPVP: major bump suggested
2024-11-14 21:54 UTC1.1.2+81/−15 lines, 6 filesPVP ok
2024-04-23 23:02 UTC1.1.1+68/−12 lines, 6 filesPVP ok

showing 5 of 53 versions

base >=4.16 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

base-compat >=0.8.2 0.14.1 → 0.15.0
2026-01-11 03:01 UTC0.15.0+27/−8 lines, 4 filesdep −unixPVP ok
2024-12-06 12:21 UTC0.14.1+354/−1598 lines, 125 filesdep ~basePVP ok
2024-04-30 15:40 UTC0.14.0+144/−8 lines, 6 filesPVP ok
2023-10-11 11:37 UTC0.13.1+186/−4 lines, 9 filesPVP ok
2023-03-10 12:07 UTC0.13.0+475/−84 lines, 18 filesPVP ok

showing 5 of 42 versions

containers >=0 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

directory >=1.2 1.3.10.1 → 1.3.11.0
2026-05-27 05:59 UTC1.3.11.0+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

filepath >=1.3 1.5.4.0 → 1.5.5.0
2026-01-20 08:14 UTC1.5.5.0+68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok
2024-11-17 13:06 UTC1.5.4.0+26/−6 lines, 3 filesdep ~basePVP ok
2024-06-29 15:30 UTC1.5.3.0+876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested
2024-01-26 07:02 UTC1.5.2.0+330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok
2023-11-25 08:29 UTC1.5.0.0+53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok

showing 5 of 35 versions

generic-data >=0.8.2 1.1.0.1 → 1.1.0.2
2024-12-07 07:44 UTC1.1.0.2+13/−4 lines, 4 filesdep ~basedep ~base-orphansnew-uploaderPVP: major bump suggested
2024-10-19 07:24 UTC1.1.0.1+30/−7 lines, 4 filesdep ~basePVP: major bump suggested
2023-03-14 13:25 UTC1.1.0.0+58/−50 lines, 10 filesdep +tasty-benchdep −criteriondep ~basedep ~base-orphansPVP ok
2023-02-07 17:23 UTC1.0.0.1+22/−22 lines, 4 filesdep ~basePVP: major bump suggested
2022-08-14 10:57 UTC1.0.0.0+225/−76 lines, 10 filesdep ~basePVP ok

showing 5 of 22 versions

mtl >=2.1 2.3.1 → 2.3.2
2025-12-08 04:58 UTC2.3.2+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

optparse-applicative >=0.11 0.18.1.0 → 0.19.0.0
2025-06-03 08:53 UTC0.19.0.0+1356/−72 lines, 24 filesdep −transformers-compatdep ~QuickCheckdep ~transformersPVP ok
2023-05-30 03:40 UTC0.18.1.0+28/−11 lines, 4 filesdep +textdep ~basedep ~prettyprinter-ansi-terminalPVP ok
2023-05-23 10:11 UTC0.18.0.0+165/−85 lines, 14 filesdep +prettyprinterdep +prettyprinter-ansi-terminaldep −ansi-wl-pprintdep ~basePVP ok
2023-05-23 10:09 UTC0.17.1.0+118/−60 lines, 13 filesPVP: major bump suggested
2022-02-01 10:27 UTC0.17.0.0+222/−65 lines, 17 filesPVP ok

showing 5 of 47 versions

process >=1.2 1.6.29.0 → 1.6.30.0
2026-06-11 10:14 UTC1.6.30.0+19/−1 lines, 2 filesPVP ok
2026-05-24 11:03 UTC1.6.29.0+5282/−4831 lines, 7 filesdep ~basePVP ok
2026-04-18 12:18 UTC1.6.28.0+70/−33 lines, 3 filesPVP ok
2026-03-08 19:39 UTC1.6.27.0+3/−2 lines, 2 filesPVP ok
2026-03-07 13:46 UTC1.6.26.2+4852/−5346 lines, 7 filesPVP ok

showing 5 of 57 versions

split >=0 0.2.5 → 0.2.5.1
2026-08-28 19:55 UTC0.2.5.1+20/−3 lines, 3 filesPVP ok
2024-01-11 16:34 UTC0.2.5+25/−2 lines, 4 filesPVP ok
2023-10-09 18:34 UTC0.2.4+614/−514 lines, 7 filesdep ~QuickCheckPVP ok
2022-08-11 16:02 UTC0.2.3.5+30/−5 lines, 4 filesdep ~basePVP ok
2020-02-22 21:57 UTC0.2.3.4+15/−3 lines, 2 filesdep ~basePVP ok

showing 5 of 26 versions

unix-compat >=0.4.2.0 0.7.4 → 0.7.4.1
2025-08-26 07:26 UTC0.7.4.1+11/−6 lines, 2 filesdep −extradep ~timePVP: major bump suggested
2025-03-27 16:33 UTC0.7.4+61/−67 lines, 8 filesdep ~directorydep ~timePVP ok
2024-10-11 16:49 UTC0.7.3+13/−7 lines, 3 filesdep ~Win32dep ~filepathdep ~hspecPVP ok
2024-06-25 13:44 UTC0.7.2+45/−57 lines, 3 filesdep −old-timedep ~basedep ~directorydep ~filepathPVP: major bump suggested
2023-12-06 12:31 UTC0.7.1+50/−5 lines, 6 filesnew-uploaderPVP ok

showing 5 of 35 versions

Reverse dependencies

1 packages depend on git-mediate

acme-everything 2018.11.18 requires git-mediate >=0