leo/extensions/hooks/pre-commit.py writes the .json file in updated format.
Move pre-commit.py to leo-editor/.git/hooks and *rename it to be pre-commit* . create_commit_timestamp_json now executes git add leo/core/commit_timestamp.json so that the .json file won't show up changed in git status. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.