Re: [PATCH/RFC 00/17] Begin gettextizing Git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason wrote:
> On Tue, Aug 31, 2010 at 19:22, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:

>>        if test -f po/git.pot &&
>>                remove_creation_date <po/git.pot >po/git.1po+ &&
>>                remove_creation_date <po/git.po >po/git.2po+ &&
>>                cmp po/git.1po+ po/git.2po+; \
>>        then \
>>                rm -f po/git.1po+ po/git.2po+ po/git.po; \
>>        else \
>>                rm -f po/git.1po+ po/git.2po+ po/git.pot; \
>>                mv po/git.po po/git.pot; \
>>        fi
[...]
> I don't know what they usually do. But that looks like a lot of work
> to work around a very rare potential edge case.

Ah, to work around the interrupted build case is simpler.  grepping for
"mv" in Documentation/Makefile would show some examples.

The above incantation is to avoid changing the timestamp on the .pot
file when it does not change.

> "make pot" is only
> ever run manually by a translator right before msgmerge.

I don't know enough about translation workflows.  Don't people
sometimes automatically run msgmerge at build time to get some okay
fuzzy messages when the translation team is off on vacation?

> Thanks for checking it out.

Thanks for doing the hard work.
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]