diff options
author | Thanos Apollo <[email protected]> | 2024-01-01 13:12:11 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-01 13:19:06 +0200 |
commit | feb13572986bd0e40aa9f951adc4975280577323 (patch) | |
tree | 993d402ddbb0c93b7824ff25a1d8324612a8095f | |
parent | 78884905d3d81350e1850f6bf31d87c549b135f5 (diff) |
gnosis-review-commit: Only commit the total number of notes reviewed
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -722,7 +722,7 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." ("cloze" (gnosis-review-cloze id)) (_ (error "Malformed note type"))))))) -(defun gnosis-review-commit (type note-num) +(defun gnosis-review-commit (note-num) "Commit review session on git repository. This function initializes the `gnosis-dir' as a Git repository if it is not @@ -740,7 +740,7 @@ NOTE-NUM: The number of notes reviewed in the session." (sit-for 0.2) (shell-command (concat git " add " (shell-quote-argument "gnosis.db"))) (shell-command (concat git " commit -m " - (shell-quote-argument (concat (format "Review type: %s | Notes: %d " type note-num))))) + (shell-quote-argument (concat (format "Total notes for session: %d " note-num))))) (message "Review session finished. %d notes reviewed." note-num))) (defun gnosis-review--session (notes) |