On Thu, 7 Jul 2005, Junio C Hamano wrote: > > - if (!strcmp(arg, "--objects")) { > + if (!strncmp(arg, "--objects", 9)) { > + if (!strcmp(arg+9, "=self-sufficient")) > + objects_self_sufficient = 1;
This is nasty - if you mis-spell "self-sufficient" (easy enough to do) you'll never know the end result isn't what you expected. It won't warn you in any way, it will just make a non-self-sufficient pack.. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html