fix(upload): ssh-deploy-on-explicit-save = 1

#7513 changed the expected value of `ssh-deploy-on-explicit-save` to be
#an integer, but the default value was still `t`. This commit changes it
#to be `1`.

Amend: #7513
This commit is contained in:
Oscar Marshall 2024-01-27 00:17:57 -08:00 committed by GitHub
parent f9137b40e7
commit d87c181aea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@
;; Example: ;; Example:
;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project") ;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project")
;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/") ;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
;; (ssh-deploy-on-explicit-save . t)))) ;; (ssh-deploy-on-explicit-save . 1))))
;; ;;
;; Note: `ssh-deploy-root-local' is optional, and will resort to ;; Note: `ssh-deploy-root-local' is optional, and will resort to
;; `doom-project-root' if unspecified. ;; `doom-project-root' if unspecified.
@ -20,7 +20,7 @@
ssh-deploy-remote-changes-handler) ssh-deploy-remote-changes-handler)
:init :init
(setq ssh-deploy-revision-folder (concat doom-cache-dir "ssh-revisions/") (setq ssh-deploy-revision-folder (concat doom-cache-dir "ssh-revisions/")
ssh-deploy-on-explicit-save t ssh-deploy-on-explicit-save 1
ssh-deploy-automatically-detect-remote-changes nil) ssh-deploy-automatically-detect-remote-changes nil)
;; Make these safe as file-local variables ;; Make these safe as file-local variables