Ignore whitespace in git blame invocation (#35960)
This works around a bug wherein inline git blame is unavailable for files with CRLF line endings. At the same time, this prevents users from seeing whitespace-only changes in the editor's git blame Closes #35836 Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -73,6 +73,7 @@ async fn run_git_blame(
|
||||
.current_dir(working_directory)
|
||||
.arg("blame")
|
||||
.arg("--incremental")
|
||||
.arg("-w")
|
||||
.arg("--contents")
|
||||
.arg("-")
|
||||
.arg(path.as_os_str())
|
||||
|
||||
Reference in New Issue
Block a user