On Fri, 20 May 2005, Linus Torvalds wrote: > > The sorting does _not_ just affect files/directories with the same names. > It affects files and directories that have the same _beginning_. Ok, I just pushed out a fix which should get this right (it introduces a new "base_name_compare()" function that knows about these subtleties). I guess we should add a proper ordering test for all these cases. There's: - exact same name, directory vs file - different length names, but same in the first characters - this one has the subcases of the next character sorting with '/' or '\0' depending on the type of the shorter filename. Your previous test handled only the simple "exact same name" case. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sat May 21 02:17:22 2005
This archive was generated by hypermail 2.1.8 : 2005-05-21 02:17:22 EST