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

Merge issue on scoop update #4755

Closed
adnaanbheda opened this issue Sep 14, 2020 · 5 comments
Closed

Merge issue on scoop update #4755

adnaanbheda opened this issue Sep 14, 2020 · 5 comments

Comments

@adnaanbheda
Copy link
Contributor

image

I had to delete gcfscape.json to merge/update successfully, I hadn't made any changes to the json file.

Shouldn't it be doing a force merge ?

@ma3yta
Copy link

ma3yta commented Sep 14, 2020

I had the same problem today:

@FDUZS
Copy link
Contributor

FDUZS commented Sep 15, 2020

Same here.

Zheng :: ~ » scoop update
Updating Scoop...
Updating 'extras' bucket...
error: Your local changes to the following files would be overwritten by merge:
        bucket/tcno-acc-switcher.json
        bucket/vtfedit.json
Please commit your changes or stash them before you merge.
Aborting
Updating 'java' bucket...
Updating 'main' bucket...
Updating 'nerd-fonts' bucket...
Updating 'nirsoft' bucket...
Updating 'php' bucket...
Updating 'spoon' bucket...
Updating 'versions' bucket...
Scoop was updated successfully!

@r15ch13
Copy link
Member

r15ch13 commented Sep 15, 2020

That's a whitespace problem caused by (ea6bb05 / 4a0db4b). The automated update fixed the whitespaces (998d1f1 / 8520c4f) but Git on windows doesn't care. 😁

Simply remove and readd the bucket to fix this issue:

scoop bucket rm extras
scoop bucket add extras

@adnaanbheda
Copy link
Contributor Author

@r15ch13 how is this preventable in the future ?

@r15ch13
Copy link
Member

r15ch13 commented Sep 15, 2020

This should have been caught by the tests. But I don't know why it got through 😕

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

No branches or pull requests

4 participants