Browse Source

fix(git): set core.quotepath=false

Andelf 3 năm trước cách đây
mục cha
commit
56b2379ce4
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/electron/electron/git.cljs

+ 3 - 1
src/electron/electron/git.cljs

@@ -98,7 +98,9 @@
 
 (defn commit!
   [message]
-  (run-git! #js ["commit" "-m" message]))
+  (p/do!
+   (run-git! #js ["config" "core.quotepath" "false"])
+   (run-git! #js ["commit" "-m" message])))
 
 (defn add-all-and-commit!
   ([]