Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Fix bug in preservation of vendor/.git #2000

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

benesch
Copy link
Contributor

@benesch benesch commented Sep 5, 2018

The previous code was attempting to copy the .git directory into
vendor/vendor/.git, i.e., with an extra level of nesting. It was
then failing to notice the error because it was only reporting errors of
type *os.LinkError.

Fix the bug by removing the layer of nesting and reporting all errors.

Fix #1997.

The previous code was attempting to copy the .git directory into
vendor/vendor/.git, i.e., with an extra level of nesting. It was
then failing to notice the error because it was only reporting errors of
type *os.LinkError.

Fix the bug by removing the layer of nesting and reporting all errors.

Fix golang#1997.
@sdboyer sdboyer merged commit affb4f6 into golang:master Sep 5, 2018
@sdboyer
Copy link
Member

sdboyer commented Sep 5, 2018

ah yes, thank you!

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

Successfully merging this pull request may close these issues.

3 participants