From 8b0ad190a4333f607225fdc756f4ce9646c23b7b Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 18 Feb 2024 10:06:57 +0200 Subject: gnosis-git-pull: Refresh gnosis-db after pull --- gnosis.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index 79df9d8..ff22705 100644 --- a/gnosis.el +++ b/gnosis.el @@ -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. -- cgit v1.2.3