Gabriel Saldaa <gsaldana@xxxxxxxxx> wrote: > Here's the output, hope it helps: > > $ msgfmt --tcl -l C -d . /dev/null; echo $? > msgfmt: unrecognized option `--tcl' > Try `msgfmt --help' for more information. > 1 > > somehow msgfmt doesn't recognize the --tcl flag. Just to revive a nearly dead thead... I have a workaround now in git-gui maint that looks for this case and falls into our po2msg script when msgfmt doesn't see --tcl. I also set Paul Mackerras a patch for gitk, so it can do the same thing. Maybe Git 1.5.4.4 will include both patches. > Junio C Hamano wrote: > >Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > >>>$ msgfmt --tcl; echo $? > >>>msgfmt: unrecognized option `--tcl' > >>>Try `msgfmt --help' for more information. > >>>1 > >>Darn. I think that's the same exit code as for any other invocation > >>without filename. > >> > >>So it seems that there is no easy way to tell a --tcl aware msgfmt from > >>the other. > > > >How about... > > > > $ msgfmt --tcl -l C -d . /dev/null; echo $? -- Shawn. -- 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