Hi,
I've made some commit to QA_4_6, which I wish to merge in to master. I get a conflict on a .po file. According to [1], I can complete the merge with a couple of different techniques depending on which situation I'm in. Unfortunately, this portion doesn't make much sense to me. Can I get some assistance with figuring out how to work effectively with a conflict in the .po files?
Isaac
1 - https://github.com/phpmyadmin/phpmyadmin/wiki/Git#merging-translations
Hi
Isaac Bennetch píše v Čt 12. 01. 2017 v 15:13 -0500:
Hi,
I've made some commit to QA_4_6, which I wish to merge in to master. I get a conflict on a .po file. According to [1], I can complete the merge with a couple of different techniques depending on which situation I'm in. Unfortunately, this portion doesn't make much sense to me. Can I get some assistance with figuring out how to work effectively with a conflict in the .po files?
If there are only .po files changes, you can ignore them as they are done on both QA_4_6 and master, so using git merge -s ours origin/QA_4_6 is the right approach in this case.
If there are some code changes as well, you need to go through the history and merge coding changes properly (by git merge HASH) and skipping the .po changes (by git merge -s ours HASH).
I've fixed formatting of the wiki page to make it easier to read...
On Tue, Jan 17, 2017 at 8:30 AM, Michal Čihař michal@cihar.com wrote:
Hi
Isaac Bennetch píše v Čt 12. 01. 2017 v 15:13 -0500:
Hi,
I've made some commit to QA_4_6, which I wish to merge in to master. I get a conflict on a .po file. According to [1], I can complete the merge with a couple of different techniques depending on which situation I'm in. Unfortunately, this portion doesn't make much sense to me. Can I get some assistance with figuring out how to work effectively with a conflict in the .po files?
If there are only .po files changes, you can ignore them as they are done on both QA_4_6 and master, so using git merge -s ours origin/QA_4_6 is the right approach in this case.
If there are some code changes as well, you need to go through the history and merge coding changes properly (by git merge HASH) and skipping the .po changes (by git merge -s ours HASH).
I've fixed formatting of the wiki page to make it easier to read...
Thanks for clarifying, it makes more sense now. I have done it and you should see my merges in master now.
-- Michal Čihař | https://cihar.com/ | https://weblate.org/
Developers mailing list Developers@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers