Hi,
there is a tiny inconsistency in the way po4a writes PO headers.
When it creates a PO file, it writes in there:
"Content-Transfer-Encoding: ENCODING"
... on the other hand, at other times, e.g. when updating a PO file,
this header field is replaced by:
"Content-Transfer-Encoding: ENCODING\n"
This is probably only annoying for VCS repositories history, e.g. when
using a multi-lingual ikiwiki[1] thanks to the po plugin[2] I wrote,
that heavily uses po4a.
In this case, this tiny inconsistency triggers a double commit of PO
files when a page is added to the wiki. This bug was reported by Joey
Hess:
http://ikiwiki.info/bugs/po:_double_commits_of_po_files/
The attached one-line patch fixes this "bug". It would be pretty nice
if it was applied on time to be shipped in Squeeze.
[1]
http://ikiwiki.info
[2]
http://ikiwiki.info/plugins/po/
Bye, thanks for po4a!
--
intrigeri <intrigeri(a)boum.org>
| GnuPG key @
https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @
https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
| Did you exchange a walk on part in the war
| for a lead role in the cage?