sol / hpack

hpack: A modern format for Haskell packages
MIT License
623 stars 103 forks source link

Fix a bug related to git conflict markers in existing `.cabal` files #556

Closed sol closed 1 year ago

sol commented 1 year ago

When a .cabal file was essentially unchanged, but contained git conflict markers then hpack did not write a new .cabal file at all. To address this hpack now unconditionally writes a new .cabal file when the existing .cabal file contains any git conflict markers.