Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCHv3 5/6] fast-export: Fix output order of D/F changes

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:06

Elijah Newren [off-list ref] writes:
quoted
quoted
We correct the order by instructing the diff_tree machinery to compare
entries using df_name_compare instead of base_name_compare.
Doh! Yep, you're right.  My patch would not handle that case
correctly.
If all you want is to force a particular order of paths in the output
(e.g. depth first) in this one single application, the cleanest way might
be to let the diffcore do its work and at the very end sort the elements
in the diff_queued_diff to your liking (c.f. diffcore_fix_diff_index()
that uses diffnamecmp() to sort the list).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help