mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
git: should compare ignored-files with disk content
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
(not= (string/trim content)
|
||||
(string/trim (or (db/get-file repo path) "")))
|
||||
(not (string/includes? path "logseq/pages-metadata.edn"))
|
||||
(not= (get @ignore-files path) db-content))
|
||||
(not= (get @ignore-files path) content))
|
||||
(p/let [
|
||||
;; save the previous content in Logseq first and commit it to avoid
|
||||
;; any data-loss.
|
||||
|
||||
Reference in New Issue
Block a user