Git: use NonEmpty in fullconfig
authorJoey Hess <joeyh@joeyh.name>
Thu, 26 Sep 2024 21:54:36 +0000 (17:54 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 26 Sep 2024 21:54:36 +0000 (17:54 -0400)
commit43f31121a57d99cd9c774762c8417df6e2b16fab
treefb6a45f651c4af118797ae61b5761aed6384a26b
parent936f22273e9d39bf2746eb505f51c868569b54ff
Git: use NonEmpty in fullconfig

This is a nice win. Avoids partial functions, by encoding at the type
level the fact that fullconfig is never an empty list.
Git/Config.hs
Git/Remote.hs
Git/Types.hs
Remote/Git.hs