We could avoid some of this churn if we would round the line numbers. I'm thinking rounding them to nearest multiple of 5 or 10 will help a lot. Jumping to a rounded line number would still bring you close to the actual position.
One could also remove the line numbers completely. The whole source location can be removed by sending the files through msgcat --no-location.
From a few comments in google/comprehensive-rust#282, it seems like this might be useful. I would suggest rounding the line numbers to 10, 20, ... to start with.
When updating the translation files for Comprehensive Rust, we have a lot of small diffs like this:
We could avoid some of this churn if we would round the line numbers. I'm thinking rounding them to nearest multiple of 5 or 10 will help a lot. Jumping to a rounded line number would still bring you close to the actual position.
One could also remove the line numbers completely. The whole source location can be removed by sending the files through
msgcat --no-location
.What do people think of this?