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

checkout: Fix bare-user symlink checkouts #799

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

Logic error introduced after refactoring; we hoisted the
is_bare_user_symlink variable to the top, but its computation
below. But the is_bare symlink depended on it.

Closes: #798

Logic error introduced after refactoring; we hoisted the
`is_bare_user_symlink` variable to the top, but its computation
below.  But the `is_bare` symlink depended on it.

Closes: ostreedev#798
@alexlarsson
Copy link
Member

Looks good to me.

@alexlarsson
Copy link
Member

Maybe we should have a symlink in our basic tests though?

@cgwalters
Copy link
Member Author

We did have one, we just weren't verifying it. That's the addition to the test suite I made. Right?

@alexlarsson
Copy link
Member

Oh, missed that part. Yeah, that looks good.

@jlebon
Copy link
Member

jlebon commented Apr 18, 2017

Ouch! Just to sanity check, I verified that the new symlink check would have failed without this fix.

@rh-atomic-bot r+ ee918d9

@rh-atomic-bot
Copy link

⌛ Testing commit ee918d9 with merge 08964d5...

@rh-atomic-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: jlebon
Pushing 08964d5 to master...

cgwalters added a commit that referenced this pull request Apr 18, 2017
Logic error introduced after refactoring; we hoisted the
`is_bare_user_symlink` variable to the top, but its computation
below.  But the `is_bare` symlink depended on it.

Closes: #798

Closes: #799
Approved by: jlebon
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