https://stackblitz.com/edit/diff-apply-patch-replace-not-working
When performing a replace operation operation path with "/" and "", there are different inconsistent behaviours.
However, it causes other issues.
I've demonstrated examples for two cases in which we can reliably reproduce replace operation issues