~aw/patches

mygit: correct log order v1 APPLIED

Johann Galle
Johann Galle: 1
 correct log order

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~aw/patches/patches/21230/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH mygit v1] correct log order Export this patch

Johann Galle
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