diff options
author | Elijah Newren <newren@gmail.com> | 2011-08-12 20:23:51 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-14 14:27:48 -0700 |
commit | f701aae0774f4517b46dd866812c269c78f1e198 (patch) | |
tree | 4f180d1b3ca79803241055e843909a2300f556f6 /t/t6018-rev-list-glob.sh | |
parent | merge-recursive: Fix virtual merge base for rename/rename(1to2)/add-dest (diff) | |
download | tgif-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 't/t6018-rev-list-glob.sh')
0 files changed, 0 insertions, 0 deletions