On Tue, May 10, 2011 at 12:51 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > When fed a non-empty argv[], get_pathspec(prefix, argv) used to always > return an array of string that has the same number of elements as argv[] > had, but with ":" (work at toplevel without any path limit) magic pathspec > it can return zero elements. ÂPassing the result from get_pathspec() to > this function will always give the correct number of pathspec elements. And use the new function in builtin/rm.c too? A good cleanup while you're touching cmd_rm().. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html