Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bdiff.c @ 7625:930a2be7e875
bdiff: add comment about normalization
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 12 Jan 2009 17:51:57 +0100 |
parents | 8bbbba2a1a9c |
children | 16f6c13706df |
line wrap: on
line diff
--- a/mercurial/bdiff.c Mon Jan 12 13:20:09 2009 +0100 +++ b/mercurial/bdiff.c Mon Jan 12 17:51:57 2009 +0100 @@ -261,6 +261,7 @@ free(pos); + /* normalize the hunk list, try to push each hunk towards the end */ for (curr = l.base; curr != l.head; curr++) { struct hunk *next = curr+1; int shift = 0;