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

Error raising with empty stashes #3

Open
demmerichs opened this issue Jul 31, 2023 · 2 comments
Open

Error raising with empty stashes #3

demmerichs opened this issue Jul 31, 2023 · 2 comments

Comments

@demmerichs
Copy link

As also reported in this SO comment, the command git rev-list --walk-reflogs --count refs/stash raises an error when there are no stashes present.

This results in push-all and import to fail in certain situations. You could call the push-all command invocation when the stash is actually empty an user-error, however doing an import when the stash is empty, is probably a quite common task.

Anyways, kudos for this great tool, I will definitly use it anyway, because even though errors are raised, the functionality is still given in both cases.

@501st-alpha1
Copy link
Owner

Thanks for the bug report; should be an easy fix, I'll look into it when I get the chance.

@demmerichs
Copy link
Author

You can actually have a look at the open PR and merge it. It fixes not only this error, but also an error regarding the drop functionality.

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

2 participants