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

Dictionary is not automatically rebuilt when checking out #1

Open
tzakharko opened this issue Jun 18, 2020 · 0 comments
Open

Dictionary is not automatically rebuilt when checking out #1

tzakharko opened this issue Jun 18, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tzakharko
Copy link
Contributor

As the managed dictionaries are stored as stubs on git, they are not registered as changed files when a new version is checked out (e.g. pull from remote). This means that the user will still have the old version on disk. We need to trigger the change somehow.

Possible workarounds:

  • use a git post-checkout hook to rewrite the file (fragile and will mark the file as modified)

  • add a unique marker to the stub (e.g. the file hash) so that git sees it as changed (will potentially cause merge conflicts)

@tzakharko tzakharko added the bug Something isn't working label Jun 18, 2020
@tzakharko tzakharko self-assigned this Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant