Render git diff --word-diff=plain between two strings. Returns the
post-@@ content lines on success, null on git failure. Mirrors
_get_git_word_diff — first attempt uses --word-diff-regex=. (per-char
granularity); if that yields nothing, retries without the regex (line
granularity). The retry gets only what is left of GIT_DIFF_BUDGET_MS.
Render
git diff --word-diff=plainbetween two strings. Returns the post-@@content lines on success,nullon git failure. Mirrors_get_git_word_diff— first attempt uses--word-diff-regex=.(per-char granularity); if that yields nothing, retries without the regex (line granularity). The retry gets only what is left ofGIT_DIFF_BUDGET_MS.