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

fix dotfile "dot-" directory handling bug #33 and #56727 #90

Closed
wants to merge 1 commit into from

Conversation

Yoris1
Copy link

@Yoris1 Yoris1 commented Jul 29, 2021

fix GitHub bug #33 and GNU #56727 by attempting to restore target $path with regex if it doesn't exist.
Might slightly slow the process down, as it's now checking the directory twice every single stow_contents() call, but it's the least intrusive fix i could come up with.

@coveralls
Copy link

coveralls commented Aug 2, 2021

Coverage Status

Coverage increased (+0.06%) to 86.374% when pulling 0d43819 on Yoris1:master into 4ef5eca on aspiers:master.

@rYR79435
Copy link

rYR79435 commented Oct 3, 2021

Duplicate of #70?

@Yoris1
Copy link
Author

Yoris1 commented Oct 4, 2021

Duplicate of #70?

Yeah, it appears that #70 already solved this issue way before me, for some reason the PR didn't show up under #33 when I was looking into the issue. I feel like my fix is simpler as it only adds 6 simple lines of code, without changing much, but it is regex and a bit of an inefficient patch so #70 might be the better choice in the end.

@aspiers
Copy link
Owner

aspiers commented Apr 7, 2024

Superseded by #70 and #107. Nevertheless, thanks very much indeed for your contribution which did help me in formulating the final solution!

@aspiers aspiers closed this Apr 7, 2024
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

Successfully merging this pull request may close these issues.

4 participants