Skip to content

Commit 5e5c25f

Browse files
authored
ignore whitespace
1 parent 783e176 commit 5e5c25f

File tree

1 file changed

+1
-0
lines changed
  • mkdocs_git_authors_plugin/git

1 file changed

+1
-0
lines changed

mkdocs_git_authors_plugin/git/page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def _process_git_blame(self) -> None:
149149
args.append("--ignore-revs-file")
150150
args.append(self.repo().config("ignore_commits"))
151151
args.append("--porcelain")
152+
args.append("-w") # Ignore whitespace changes
152153
args.append(str(self._path))
153154
cmd = GitCommand("blame", args)
154155
cmd.run()

0 commit comments

Comments
 (0)