Skip to content

revision-date-localized v1.3.0

Latest
Compare
Choose a tag to compare
@timvink timvink released this 22 Oct 12:43
· 2 commits to master since this release
2e7646e

What's Changed

🟠 Minor breaking changes: This release will change some of the git revision dates:

  • We now ignore changes to files that only contain whitespaces or blanklines, as these are not 'real' revisions to the content. This maps to the git log --ignore_all_space --ignore_blank_lines.
  • We now ignore rename commits for determining the last revision date, as these are not 'real' revisions to the content. This maps to the git log diff-filter=r command (see git log docs)
  • We will now follow changes to a file across file renames (including moving files around). This maps to git log --follow. While giving more accurate revision and creation dates, there is an edge case: if you commit empty files, the revision date might wrong. For details see this blogpost. You can opt-out of this behavior by using the new option enable_git_follow (which defaults to True). If you still hit inaccurate revision dates for specific files, consider manually defining them.

Pull requests:

New Contributors

Full Changelog: v1.2.9...v1.3.0