Skip to content

Support for diffs of renamed files and ignoring whitespaces

Latest
Compare
Choose a tag to compare
@jakzal jakzal released this 08 Feb 22:23
· 2 commits to main since this release
8f2bda1

New features

Including a patch of a file that has been renamed

To generate a patch for changes between two revisions (b015e8dd and b015e8dd) where a file has been renamed:

\include::git@path/within/repo/file.rb[revision=b015e8dd,diff=0245ac72,difftarget=path/within/repo/previous_file.rb]

Including a patch ignoring whitespaces

To generate a patch for changes introduced in a specific revision (b015e8dd) but ignoring the changes related to whitespaces and caret line return:

\include::git@path/within/repo/file.rb[revision=b015e8dd,diff,ignorewhitespaces]

What's Changed

  • feat(diff): give capability to ignore whitespaces and caret returns in a diff by @edeweerd1A in #4
  • fix(diff): Support files renaming between revisions for a diff by @edeweerd1A in #3

New Contributors

Full Changelog: v1.2.0...v1.3.0