changeset 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 f2fa1a9eede6
children 551afd4a4691
files mercurial/bdiff.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;