mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
feat: type c to git commit
also, fixed an issue that backspace can delete selected blocks when there's a dialog.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
(not (string/blank? content))
|
||||
(not= (string/trim content)
|
||||
(string/trim (or (db/get-file repo path) ""))))
|
||||
(p/let [result (ipc/ipc "gitCommitAll")
|
||||
(p/let [result (ipc/ipc "gitCommitAll" "")
|
||||
_ (file-handler/alter-file repo path content {:re-render-root? true
|
||||
:from-disk? true})]
|
||||
(set-missing-block-ids! content)
|
||||
|
||||
Reference in New Issue
Block a user