Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict resolution tool #3

Open
trickeydan opened this issue Sep 9, 2018 · 1 comment
Open

Conflict resolution tool #3

trickeydan opened this issue Sep 9, 2018 · 1 comment

Comments

@trickeydan
Copy link
Contributor

It would be useful to have a tool that explains merge conflicts in a real-life context:
e.g

This item is both here and there. Where should it be?

@PeterJCLaw
Copy link
Member

While I can see where the desire for this tool comes from, I'm not sure that the level of effort it would take to make it reliable and easy to use (I estimate that that would be a lot) is worth it.

Despite having used the inventory quite a lot I don't personally recall hitting any merge conflicts myself. That's not to say that I can't imagine a case where they happen, rather than they're fairly rare.

There are a small number of guiding principles to this (worth noting since prevention is better than cure):

  • As the inventory is tracking real world items, one should only be moving items that you are actually highly confident of the location of (usually they're directly in your possession)
  • Where possible ensure that your copy of the repo is up to date before (and after) making changes; In this regards it's better to think about the inventory as being a non-distributed system
  • Prefer rebase over merge as this generally results in either git being able to sort the issue itself (I assume) or more obvious failure modes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants