~aw/patches

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH mygit v1] correct log order

Johann Galle
Details
Message ID
<20210316221450.9347-1-johann@qwertqwefsday.eu>
DKIM signature
pass
Download raw message
Patch: +1 -1
From: Johann150 <johann@qwertqwefsday.eu>

I introduced this mistake in a24c87629debfc0395a9c0c7d4e69f382c0bb26d
by not correctly reading the documentation. This should resolve todo
~aw/mygit/24.
---
 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 342248f..bd730df 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -184,7 +184,7 @@ async fn repo_log(req: Request<()>) -> tide::Result {

        // show newest commits first
        revwalk
            .set_sorting(git2::Sort::TIME | git2::Sort::REVERSE)
            .set_sorting(git2::Sort::TIME)
            .unwrap();

        revwalk
-- 
2.20.1
Reply to thread Export thread (mbox)