wip, minor fix

This commit is contained in:
Dmitry Zuikov 2024-04-17 10:42:18 +03:00
parent f2451697db
commit 77fe327ea8
2 changed files with 3 additions and 1 deletions

View File

@ -183,7 +183,7 @@ pManifestList :: GitPerks m => Parser (GitCLI m ())
pManifestList = do
what <- argument pLwwKey (metavar "LWWREF")
pure do
heads <- withState $ selectRepoHeadsFor DESC what
heads <- withState $ selectRepoHeadsFor ASC what
sto <- getStorage
for_ heads $ \h -> runMaybeT do

View File

@ -28,6 +28,8 @@ import Data.Coerce
import Streaming.Prelude qualified as S
data Limit = Limit Integer
data SortOrder = ASC | DESC
newtype SQL a = SQL a