You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. This seems to be the same issue as ryuslash/git-auto-commit-mode#32, so you could probably solve it in your configuration by using auto-save-visited-mode instead of the dotspacemacs-auto-save-file-location 'original option.
Of course this should also (or rather instead) be addressed in Spacemacs, we should not use the deprecated option auto-save-visited-file-name anymore.
Description![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
I want to sync the files in my project on github using
auto-save
andgit-auto-commit-mode
.My dotspacemacs has:
dotspacemacs-auto-save-file-location 'original
and:
dotspacemacs-additional-packages '(git-auto-commit-mode)
and in user-config:
The files I want to sync are in a git repo and contain in the header:
;; -*- eval: (git-auto-commit-mode 1) -*-
When I manually save, it works, but when an open file is auto-saved, no commit is happening.
git-auto-commit-mode
relies on theafter-save-hook
. Can it be that auto-save isn't triggering this hook?Reproduction guide 🪲
Observed behaviour: 👀 💔
File is saved, but not committed.
Expected behaviour: ❤️ 😄
File is saved and committed.
System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: