We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调试了下看到
(setq all-files (op/git-all-files op/repository-directory))
;all-files为空 changed-files为(:update ,all-files :delete nil) 因force-all为t
(op/publish-changes all-files changed-files store-dir)
其需要all-files中的值来进行生成操作。 觉得all-files应刻包括git库中的文件和git add过的文件。
The text was updated successfully, but these errors were encountered:
当然all-files只包括提交后的文件也很合理。 但是change-files却包括了曾经提交过,现在又修改且只git add的文件。 这样的文件修改还没提交到库中,但是会被生成新的html。 这点是我大致看了publish-changes all-files的判断,我才用emacs不久,看elisp有难度。
Sorry, something went wrong.
changed-files是根据两个commit之间的差距来的,执行的命令如下:
git diff --name-status <base-commit> HEAD
这个命令会把改动的文件列出来,不管有没有git add。所以建议在执行publish之前,提交你所有期望提交的改动。
No branches or pull requests
调试了下看到
;all-files为空
changed-files为(:update ,all-files :delete nil) 因force-all为t
其需要all-files中的值来进行生成操作。
觉得all-files应刻包括git库中的文件和git add过的文件。
The text was updated successfully, but these errors were encountered: