[Freeipa-devel] [PATCH] make update-pot will not touch pot file if msgid's are unmodified

John Dennis jdennis at redhat.com
Sat Feb 20 16:46:21 UTC 2010


Resending modified patch. I discovered the original patch had a minor 
bug which might leave temporary files in the directory. Please use this 
patch instead.

On 02/20/2010 11:15 AM, John Dennis wrote:
> Formerly running 'make update-pot' would write an insignificantly
> different pot file even if the msgid's xgettext found were unmodfied.
> Now the result of running xgettext is compared to the existing
> pot file after adjusting for things like timestamps, and only
> copies the result of xgettext to the new pot file if there
> were differences.
>
> This will help eliminate git commits on the pot file if all one
> did was see if the pot file was up to date, if it was up to date
> git won't see any modifications. It used to be that timestamps
> would be different in the pot file just by virtue of checking
> if the pot file was current.
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel


-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-make-update-pot-will-not-touch-pot-file-if-unmodified.patch
Type: text/x-patch
Size: 2848 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100220/dc753d3d/attachment.bin>


More information about the Freeipa-devel mailing list