Closed xiaohanyu closed 11 years ago
I have reviewed your code, the function op/git-first-commit
seems not so proper for this solution:
tail
, cut
)In my opinion, there is a better way to implement the republish feature, do you still remember the function (defun op/publish-changes (all-list change-plist pub-root-dir)
? We pass the all-files-list
and changed-files-list
to it, so, for republish feature, we can just pass all-files-list
to both all-list
and change-plist
.
I think this is much better and is a proper solution, right?
This feature is implemented, close this issue.
code in this commit may be not suitable in the long run, but it works for the current time.
And I think op/do-publication should be refactored to support flexible publishing.