Bas Zoetekouw wrote: >> For the installation guide I've written a script that can update the >> revision in translation comments _after_ the commit. It takes the >> revision of the commit of the English file as only parameter and then >> works out, per file included in that commit, if the corresponding >> translation was up-to-date before the new commit and only then updates >> the translation comment. >> >> This does mean that the workflow changes a bit. It becomes: >> - use $tool (e.g. sed) to make the changes in the original and >> translations - check diffs >> - commit the original >> - run the script with the revision of that commit >> - commit the translations > > I've actually solved in in more or less the same way, with as main > difference that in the final two steps of thw workflow are done > automatically from a post-commit hook. This seems to work very well, > for as far as I've been able to test it.
Could you elaborate a bit on this? I'm not that familiar with post-commit hooks, but I'm having problems seeing how this would work. TIA, FJP
signature.asc
Description: This is a digitally signed message part.