Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 341 Vote(s) - 3.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Too many revisions" git message

#1
On git version 1.7.9.5, when trying

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?
Reply

#2
This does not answer the OP's specific situation but I don't have enough reputation to add this as a comment... This page is one of the top search results for the error message `Too many revisions specified`

If you are using Posh Git or some other powershell command line then you get the above error message when you enter a command like

git stash show -p stash@{2}

Powershell doesn't like the curly braces.

git stash show -p stash@'{'2'}'

should do the trick.

Similarly:

git stash show -p "stash@{2}"

also avoids the error.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through