[Cc: Gerrit Pape <pape@xxxxxxxxxxx>, git@xxxxxxxxxxxxxxx] Gerrit Pape wrote: > + char *sub[] = { "cur", "new" }; [...] > + for (i = 0; i < 2; ++i) { Wouldn't it be better to use sizeof(sub)/sizeof(sub[0]) or it's macro equivalent ARRAY_SIZE(sub) instead of hardcoding 2 to avoid errors? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - 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