[ET Trac] [Einstein Toolkit] #261: GetComponents misleading warning message
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Feb 3 14:42:43 CST 2011
#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.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/261#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list