[PATCH 4/8] longest_ancestor_length(): explicitly filter list before loop

2012-09-26 Thread Michael Haggerty
Separate the step of filtering and normalizing elements of the prefixes list from the iteration that looks for the longest prefix. This will help keep the function testable after we not only normalize the paths, but also convert them into real paths. Signed-off-by: Michael Haggerty --- path.c |

Re: [PATCH 4/8] longest_ancestor_length(): explicitly filter list before loop

2012-09-27 Thread Junio C Hamano
Makes sense. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html