enhance: disable git auto commit by default

Because many users have trouble with Git with sync services like
iCloud/OneDrive.
This commit is contained in:
Tienson Qin
2021-09-22 18:49:43 +08:00
parent 7ea00869d9
commit c60fb5454a
2 changed files with 5 additions and 1 deletions

View File

@@ -1491,3 +1491,7 @@
(defn remove-watch-state [key]
(remove-watch state key))
(defn get-git-auto-commit-enabled?
[]
(false? (sub [:electron/user-cfgs :git/disable-auto-commit?])))