diff options
author | Thanos Apollo <[email protected]> | 2024-02-18 10:06:57 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-18 10:06:57 +0200 |
commit | 8b0ad190a4333f607225fdc756f4ce9646c23b7b (patch) | |
tree | 647a4e3cf6ebc98b32a665ddfed3b2715e41a14c /gnosis.el | |
parent | 60f61953655005fac6efd5d1732208be931a6623 (diff) |
gnosis-git-pull: Refresh gnosis-db after pull
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1050,7 +1050,9 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." "Pull change from git repository in DIR." (interactive) (let ((default-directory dir)) - (gnosis-git--process "pull"))) + (gnosis-git--process "pull") + ;; Refresh gnosis-db after pull + (setf gnosis-db (emacsql-sqlite-open (expand-file-name "gnosis.db" gnosis-dir))))) (defun gnosis-review-commit (note-num) "Commit review session on git repository. |