diff options
author | Elijah Newren <newren@gmail.com> | 2011-08-11 23:20:07 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-14 14:19:37 -0700 |
commit | edd2faf52eda344eca2c01bc0b1d9f7f2f002a42 (patch) | |
tree | 0120b94e729c674c799198e9bbc431ae6130cc69 /t/t9117-git-svn-init-clone.sh | |
parent | merge-recursive: Improve handling of rename target vs. directory addition (diff) | |
download | tgif-edd2faf52eda344eca2c01bc0b1d9f7f2f002a42.tar.xz |
merge-recursive: Consolidate process_entry() and process_df_entry()
The whole point of adding process_df_entry() was to ensure that files of
D/F conflicts were processed after paths under the corresponding
directory. However, given that the entries are in sorted order, all we
need to do is iterate through them in reverse order to achieve the same
effect. That lets us remove some duplicated code, and lets us keep
track of one less thing as we read the code ("do we need to make sure
this is processed before process_df_entry() or do we need to defer it
until then?").
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9117-git-svn-init-clone.sh')
0 files changed, 0 insertions, 0 deletions