aboutsummaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2011-08-12 20:23:51 -0600
committerJunio C Hamano <gitster@pobox.com>2011-08-14 14:27:48 -0700
commitf701aae0774f4517b46dd866812c269c78f1e198 (patch)
tree4f180d1b3ca79803241055e843909a2300f556f6 /Documentation/technical
parent6d63070cacf88cd03b4bc73fd64fea046accd450 (diff)
downloadgit-f701aae0774f4517b46dd866812c269c78f1e198.tar.gz
git-f701aae0774f4517b46dd866812c269c78f1e198.tar.xz
merge-recursive: Don't re-sort a list whose order we depend upon
In record_df_conflict_files() we would resort the entries list using df_name_compare to get a convenient ordering. Unfortunately, this broke assumptions of the get_renames() code (via string_list_lookup() calls) which needed the list to be in the standard ordering. When those lookups would fail, duplicate stage_data entries could be inserted, causing the process_renames and process_entry code to fail (in particular, a path that that process_renames had marked as processed would still be processed anyway in process_entry due to the duplicate entry). Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions