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

Alt files shoudn't be tracked #465

Closed
Thaodan opened this issue Oct 8, 2023 · 2 comments
Closed

Alt files shoudn't be tracked #465

Thaodan opened this issue Oct 8, 2023 · 2 comments

Comments

@Thaodan
Copy link

Thaodan commented Oct 8, 2023

Is your feature request related to a problem? Please describe.

Yadm allows the use of alt files but it also allows users to antecedently checked in
files that have alt files.

Alt files shouldn't be tracked as the non-alt version of the file would be overridden each time
yadm links the appropriate alt file to the non-alt file.

Describe the solution you'd like

Ask user before they want to add files that are tracked by alt files

Describe alternatives you've considered

An alternative would to gitignore files that have alt files.

@Thaodan Thaodan added the feature label Oct 8, 2023
erijo added a commit that referenced this issue Mar 2, 2025
unless yadm.auto-exclude is set to false (#234, #465).

Alt files exclude pattern will be written to $GIT_DIR/info/exclude.yadm-alt and
encrypt files exclude patthern to ...yadm-encrypt. Then these two files will be
merged together and added to $GIT_DIR/info/exclude whenever one of them has
changed.
@erijo
Copy link
Collaborator

erijo commented Mar 3, 2025

This is fixed in yadm 3.5.0.

@erijo erijo closed this as completed Mar 3, 2025
@Thaodan
Copy link
Author

Thaodan commented Mar 4, 2025 via email

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

No branches or pull requests

3 participants