minor optimisation
authorJoey Hess <joeyh@joeyh.name>
Mon, 18 Jul 2022 17:49:17 +0000 (13:49 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 18 Jul 2022 17:50:35 +0000 (13:50 -0400)
commit1c40b927aa8e6a4dd97a256d263ac147af771c16
tree2c6b7d240621b8890a34a8b62a424a1e486f380c
parent4b520e06832e3b0fb5101d715894ef737fb60ee4
minor optimisation

Avoid re-writing the file when the journal directory did not
exist.
Annex/Journal.hs