Skip to content

Commit

Permalink
credentials fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carbon-hvze committed Oct 7, 2023
1 parent 4eead52 commit 50c1892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zd/store.clj
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@

(doseq [m (into untracked modified)]
(when (str/includes? docpath m)
(let [uname (or (.getString git-config "user" nil "name") (:name session) "unknown editor")
email (or (.getString git-config "user" nil "email") (:email session) "[email protected]")]
(let [uname (or (:name session) (.getString git-config "user" nil "name") "unknown editor")
email (or (:email session) (.getString git-config "user" nil "email") "[email protected]")]
(git/git-add repo m)
(let [msg (if (contains? untracked m)
(str "Create " docname)
Expand Down

0 comments on commit 50c1892

Please sign in to comment.