On Wed, Apr 25, 2012 at 2:50 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: >> The idea is modify all git commands and output all marked strings in >> "struct option" and usage strings, instead of manually marking them >> one by one. The marked strings will be collected by xgettext just like >> another source file. > > Gaah, my eyes, my eyes. > > No thanks. > Good. What burned your eyes though? Are you ok with an approach that does not change source code (much) and still marks strings using an external tool? I'm looking at sparse, but perhaps a simple perl script to look at "gcc -E" output and search for "struct option" would be enough. -- 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