fix adjusted branch update breakage
authorJoey Hess <joeyh@joeyh.name>
Thu, 8 Jun 2023 17:33:58 +0000 (13:33 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 8 Jun 2023 17:33:58 +0000 (13:33 -0400)
commit637f19bebba21b34980657bdf658d96ad8e2da0c
treef83f6c54790556d49e9654301886e949da8ce7e7
parent7888702955cad9dd94ea1e471acdcf5ddd498084
fix adjusted branch update breakage

Introduced recently in commit 64fc34b3dab4c3ae1a623d1dce8e8b1110045e33.

adjustBranch changes the sha that is recorded for the current branch
(eg the adjusted branch). So, have to get the original sha before
calling it.

Sponsored-by: Jack Hill on Patreon
Annex/AdjustedBranch.hs