This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository edi.

View the commit online.

commit 8aa1c3ca913d8b1fbdd3386f8edc84574b2ab708
Author: Alastair Poole <[email protected]>
AuthorDate: Thu Apr 16 07:45:49 2026 +0100

    edi_scm_ui: show latest commit first.
---
 src/bin/edi_scm_ui.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/edi_scm_ui.c b/src/bin/edi_scm_ui.c
index 69b1b4d..2c7c93d 100644
--- a/src/bin/edi_scm_ui.c
+++ b/src/bin/edi_scm_ui.c
@@ -644,6 +644,7 @@ _edi_scm_ui_log_fill_cb(void *data)
    Evas_Object *entry;
    Eina_List *log;
    char *line;
+   Evas_Coord w, h;
 
    entry = data;
 
@@ -655,6 +656,11 @@ _edi_scm_ui_log_fill_cb(void *data)
         free(line);
      }
 
+   /* Keep the log view at the top so newest entries from git log are visible first. */
+   elm_entry_cursor_begin_set(entry);
+   evas_object_geometry_get(entry, NULL, NULL, &w, &h);
+   elm_scroller_region_bring_in(entry, 0, 0, w > 0 ? w : 1, h > 0 ? h : 1);
+
    return ECORE_CALLBACK_CANCEL;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to