#261: GetComponents misleading warning message ----------------------------+----------------------------------------------- Reporter: bmundim | Owner: eric9 Type: defect | Status: accepted Priority: minor | Milestone: Component: GetComponents | Version: Resolution: | Keywords: warning messages ----------------------------+----------------------------------------------- Changes (by eric9):
* status: new => accepted
Comment:
Git actually fails if `git stash pop` is run when there is no stash. I thought that the error message would be consistent and I could catch it myself, but apparently that is not the case. What I could do instead is to first run `git status --short --untracked-files=no`, which will output nothing if there are no local modifications. Based on that command, I could then either run `git stash && git pull --rebase && git stash pop` or simply `git pull --rebase`. That should prevent your error.