From e63230af71f7b3403a41d9c9d6cb57bb77b5328f Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Tue, 3 Feb 2026 21:46:47 -1000 Subject: [PATCH 1/5] Update src/lazygitclj/core.clj --- src/lazygitclj/core.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lazygitclj/core.clj b/src/lazygitclj/core.clj index 55fee7a..8bea4de 100644 --- a/src/lazygitclj/core.clj +++ b/src/lazygitclj/core.clj @@ -6,6 +6,8 @@ [lazygitclj.git :as git] [clojure.string :as str])) +(def temp tui/run) + ;; === Model === (defn load-git-data [] -- 2.39.5 From ca1e90f1307ecbd2a7f7c31b3466e52f53b83740 Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Wed, 4 Feb 2026 05:12:30 -1000 Subject: [PATCH 2/5] Update src/lazygitclj/core.clj --- src/lazygitclj/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lazygitclj/core.clj b/src/lazygitclj/core.clj index 8bea4de..393a858 100644 --- a/src/lazygitclj/core.clj +++ b/src/lazygitclj/core.clj @@ -886,7 +886,7 @@ (defn -main [& _args] (if (git/repo-root) (do - (println "Starting lazygitclj...") + (println (str "String with initial model: " (initial-model))) (tui/run {:init (initial-model) :update update-model :view view}) -- 2.39.5 From a7773b77d1eba5386099981873d6a933584a41d4 Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Wed, 4 Feb 2026 05:21:41 -1000 Subject: [PATCH 3/5] Update src/lazygitclj/core.clj --- src/lazygitclj/core.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lazygitclj/core.clj b/src/lazygitclj/core.clj index 393a858..1b8f07a 100644 --- a/src/lazygitclj/core.clj +++ b/src/lazygitclj/core.clj @@ -881,6 +881,9 @@ :else background))) +(defn test-view-2 [& args] + [:box "foo"]) + ;; === Main === (defn -main [& _args] @@ -889,7 +892,7 @@ (println (str "String with initial model: " (initial-model))) (tui/run {:init (initial-model) :update update-model - :view view}) + :view test-view-2}) (println "Goodbye!")) (do (println "Error: Not a git repository") -- 2.39.5 From 65f7d184bc55c32cb326faa267688409478b6e82 Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Wed, 4 Feb 2026 06:14:22 -1000 Subject: [PATCH 4/5] Update src/lazygitclj/core.clj --- src/lazygitclj/core.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lazygitclj/core.clj b/src/lazygitclj/core.clj index 1b8f07a..3f4dfc8 100644 --- a/src/lazygitclj/core.clj +++ b/src/lazygitclj/core.clj @@ -58,7 +58,7 @@ s)) (defn get-current-diff - "Get the diff for the currently selected item based on panel and cursor." + "Change doc string for test" [model] (let [panel (:panel model) items (current-items model) @@ -886,6 +886,8 @@ ;; === Main === +(def temp2 get-current-diff) + (defn -main [& _args] (if (git/repo-root) (do -- 2.39.5 From a2ed40d348c28e621443df3915ee56763fb710bd Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Wed, 4 Feb 2026 06:16:48 -1000 Subject: [PATCH 5/5] Update src/lazygitclj/core.clj --- src/lazygitclj/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lazygitclj/core.clj b/src/lazygitclj/core.clj index 3f4dfc8..2a6e93a 100644 --- a/src/lazygitclj/core.clj +++ b/src/lazygitclj/core.clj @@ -92,7 +92,8 @@ ;; === Update === (defn update-diff [model] - (assoc model :diff (get-current-diff model))) +;; never update lol + model) (defn initial-model [] (let [base (merge -- 2.39.5