I've got a scenario where I have a selection of strings to delete from git history but where some strings to delete are substrings of others. For example:
foo\nbar
bar
This is a question really, as I've yet to see an actual issue, but it is possible that this is working by fluke and I could have stumbled across a combination that works. Is this defined behaviour - for example, will it be greedy and replace the longest string? Does the order matter?
I've got a scenario where I have a selection of strings to delete from git history but where some strings to delete are substrings of others. For example:
foo\nbar
bar
This is a question really, as I've yet to see an actual issue, but it is possible that this is working by fluke and I could have stumbled across a combination that works. Is this defined behaviour - for example, will it be greedy and replace the longest string? Does the order matter?