07-21-2023, 04:24 PM
On git version 1.7.9.5, when trying
git stash show -p stash@{"Friday Smarch 13 13:13:13 2013"}
(from
I get the error message
Too many revisions specified: stash@{Friday Smarch 13 13:13:13 2013}
I also get the same error message when trying the following
git stash show "stash@{Friday Smarch 13 13:13:13 2013}"
git stash show -p stash@{Friday\ Smarch\ 13\ 13:13:13\ 2013}
I don't think escaping is the cause. If I do
git stash show -p stash@{Friday\ Smarch\ 13\ 13:13:13 2013}
Then I get a different error message:
fatal: ambiguous argument 'stash@{Friday Smarch 13 13:13:13': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
By contrast, doing
git stash show -p stash@{42}
Works.
What does the error message mean, and what should I do?
git stash show -p stash@{"Friday Smarch 13 13:13:13 2013"}
(from
[To see links please register here]
)I get the error message
Too many revisions specified: stash@{Friday Smarch 13 13:13:13 2013}
I also get the same error message when trying the following
git stash show "stash@{Friday Smarch 13 13:13:13 2013}"
git stash show -p stash@{Friday\ Smarch\ 13\ 13:13:13\ 2013}
I don't think escaping is the cause. If I do
git stash show -p stash@{Friday\ Smarch\ 13\ 13:13:13 2013}
Then I get a different error message:
fatal: ambiguous argument 'stash@{Friday Smarch 13 13:13:13': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
By contrast, doing
git stash show -p stash@{42}
Works.
What does the error message mean, and what should I do?