Hi! I'm somewhat a newbie with diff, so maybe I'm missing that or there is a good reason why it does not exist, but well, the gnu-website send me to this mailaddress to ask for features, so I just do...
The current behaviour of diff (2.8.1) seems to be that if context between two changes overlaps then only a single change hunk is created. Which is certainly a good default. Still I found that there are situation where I would prefer to create two change hunks instead which both use the same contextlines. As the contextlines don't change this shouldn't conflict with patch, right? So having an additional flag to control this would be great (like --small_hunks or --no_shared_context) Well, just a proposal, maybe someone likes it and codes it, or tells me about a tool which already does that, or maybe someone tells me why this is a really really stupid idea :-) - Michael