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

lib/scanner: Correctly scan symlinks (#3445) #3446

Closed
wants to merge 2 commits into from
Closed

lib/scanner: Correctly scan symlinks (#3445) #3446

wants to merge 2 commits into from

Conversation

calmh
Copy link
Member

@calmh calmh commented Jul 26, 2016

Purpose

Scan symlinks. :(

Testing

Unit test.

@xduugu
Copy link
Contributor

xduugu commented Jul 26, 2016

This seems to work. The Info messages disappeared and the symlinks are still there on the receiving side.

By the way, don't you need a keyword like "fixes" in the commit message to close the issue?

@calmh
Copy link
Member Author

calmh commented Jul 26, 2016

Indeed I do, fixed. :)

@calmh
Copy link
Member Author

calmh commented Jul 26, 2016

@st-review merge it, xduugu tested it

@st-review
Copy link

@calmh: Build status is pending. I'll wait until it goes green and then merge!


// Create a folder with a symlink in it

os.RemoveAll("_symlinks")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

osutil, because this will be flaky on windows I suspect.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inb4 merge

@xduugu
Copy link
Contributor

xduugu commented Jul 26, 2016

Thanks for the quick fix @calmh

@st-review
Copy link

👌 Merged as 66a506e. Thanks, @calmh!

@st-review st-review closed this Jul 26, 2016
st-review pushed a commit that referenced this pull request Jul 26, 2016
@calmh calmh deleted the scansymlinks branch July 26, 2016 11:56
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 26, 2017
@syncthing syncthing locked and limited conversation to collaborators Jul 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants