[darcs-users] an interface for splitting hunks

Mark Stosberg mark at summersault.com
Wed Mar 30 13:14:51 UTC 2005


On Wed, Mar 30, 2005 at 09:24:31AM +0200, Ketil Malde wrote:
> Mark Stosberg <mark at summersault.com> writes:
> 
> > On 2005-03-28, Ketil Malde <ketil.malde at bccs.uib.no> wrote:
> 
> >> Would it be a good heuristic to try to break hunks at empty lines?
> 
> > I would say "no" for the average case. I think it's common to add 10 or
> > 20 more contiguous lines, for those to have some spaces in them, which
> > don't separate intuitive hunks. 
> 
> That's not quite what I meant; the intention was to only do this when
> the hunk had ambigous starting/ending (as in the example I quoted).

I think we are talking about the same thing. Right now I believe that
hunks equal all contingous changed lines.

I think breaking that down further probably requires human intervention.

    Mark




More information about the darcs-users mailing list