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

3 way merge driver usage #9328

Closed
2 tasks done
burner1024 opened this issue May 30, 2023 · 6 comments
Closed
2 tasks done

3 way merge driver usage #9328

burner1024 opened this issue May 30, 2023 · 6 comments
Labels
question This is more a question for the support than an issue.

Comments

@burner1024
Copy link
Contributor

Describe the issue

Hi.
I've been looking for ways to reduce merge conflicts.
This issue and this file came up.
I can't find any documentation about it.
The comment in the file says that it's installed for all weblate internal repositories. What are "internal repositories"? Just Weblate's local copies of upstream, or something else? I checked git config in weblate container, and the setting is not there.

Is it already used in my installation, and I just don't know about it? Or it specifically needs to be enabled? If so, can it be enabled globally for all repos?

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

Docker container

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@burner1024 burner1024 added the question This is more a question for the support than an issue. label May 30, 2023
@github-actions
Copy link

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

@nijel
Copy link
Member

nijel commented May 31, 2023

It is installed in DATA_DIR/home/.config/git/attributes and DATA_DIR/home/.gitconfig, see https://docs.weblate.org/en/latest/admin/config.html#std-setting-DATA_DIR

@burner1024
Copy link
Contributor Author

burner1024 commented May 31, 2023

So, it is used by default for all repos, and no additional configuration is required?

Because if I change dir to an actual repo and check settings, it's not there:

weblate@7c82e9374077:/app/data/vcs/fallout/up$ git config --list | grep merge
branch.master.merge=refs/heads/master

@nijel
Copy link
Member

nijel commented May 31, 2023

Yes, it is used. All commands in Weblate are executed with HOME=DATA_DIR/home.

@burner1024
Copy link
Contributor Author

I see, thank you for the explanation!

@github-actions
Copy link

The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

nijel added a commit that referenced this issue Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants