diff options
author | Thanos Apollo <[email protected]> | 2024-02-17 21:58:49 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-17 21:58:49 +0200 |
commit | 94d1bce47359c5fe432264cb8e602b38d105daad (patch) | |
tree | 6f08281eb1b604abf0ff75f9da8d359f0b44bd00 /gnosis.el | |
parent | 8a9528c66e23d3d61b2e8a66d86f37828704e74e (diff) |
gnosis-review-commit: Use gnosis-git commands
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1067,11 +1067,11 @@ NOTE-NUM: The number of notes reviewed in the session." (unless (file-exists-p (expand-file-name ".git" gnosis-dir)) (vc-create-repo 'Git)) ;; TODO: Redo this using vc - (shell-command (concat git " add " (shell-quote-argument "gnosis.db"))) - (shell-command (concat git " commit -m " - (shell-quote-argument (format "Total notes for session: %d " note-num)))) + (shell-command (format "%s %s %s" git "add" (shell-quote-argument "gnosis.db"))) + (shell-command (format "%s %s %s" git "commit -m" + (shell-quote-argument (format "Total notes for session: %d" note-num)))) (when gnosis-auto-push - (shell-command (concat git " " gnosis-auto-push-command))) + (gnosis-git-push gnosis-dir)) (message "Review session finished. %d notes reviewed." note-num))) (defun gnosis-review--session (notes) |