2009-07-02 Bruno Haible <bruno@clisp.org>
+ * lib/git-merge-changelog.c (compute_mapping): Fix determination of
+ best_i.
+
+2009-07-02 Bruno Haible <bruno@clisp.org>
+
Speed up approximate search for matching ChangeLog entries.
* lib/git-merge-changelog.c (entry_fstrcmp): Add a lower_bound
argument. Call fstrcmp_bounded instead of fstrcmp.
/* git-merge-changelog - git "merge" driver for GNU style ChangeLog files.
- Copyright (C) 2008 Bruno Haible <bruno@clisp.org>
+ Copyright (C) 2008-2009 Bruno Haible <bruno@clisp.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
best_i_similarity);
if (similarity > best_i_similarity)
{
- best_i = i;
+ best_i = ii;
best_i_similarity = similarity;
}
}