This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
s))
|
s))
|
||||||
|
|
||||||
(defn get-current-diff
|
(defn get-current-diff
|
||||||
"Get the diff for the currently selected item based on panel and cursor."
|
"Change doc string for test"
|
||||||
[model]
|
[model]
|
||||||
(let [panel (:panel model)
|
(let [panel (:panel model)
|
||||||
items (current-items model)
|
items (current-items model)
|
||||||
@@ -886,6 +886,8 @@
|
|||||||
|
|
||||||
;; === Main ===
|
;; === Main ===
|
||||||
|
|
||||||
|
(def temp2 get-current-diff)
|
||||||
|
|
||||||
(defn -main [& _args]
|
(defn -main [& _args]
|
||||||
(if (git/repo-root)
|
(if (git/repo-root)
|
||||||
(do
|
(do
|
||||||
|
|||||||
Reference in New Issue
Block a user