Fix --exclude with filenames that have spaces on Git repositories.
Review Request #14499 — Created July 8, 2025 and submitted — Latest diff uploaded
The implementation of --exclude for Git repositories was just using
.split()
on the output fromgit diff-tree
, which was causing it to
fail if any filenames included spaces. This change fixes it to properly
split on tab characters instead.
Ran unit tests.