[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature wish for diff - flag to split change hunks using shared context
From: |
Michael Zeilfelder |
Subject: |
feature wish for diff - flag to split change hunks using shared context |
Date: |
Fri, 15 Aug 2008 16:20:48 +0200 |
User-agent: |
KMail/1.9.9 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature wish for diff - flag to split change hunks using shared context,
Michael Zeilfelder <=