Re: Error in documentation for @{-n} in gitrevisions

2014-01-12 Thread Ramkumar Ramachandra
Kevin wrote: > Either the documentation is wrong, and should be changed to "th > branch/commit checkout out before the current one", or the behavior of > @{-1} is wrong. Yeah, the documentation needs to be updated. Patches welcome. -- To unsubscribe from this list: send the line "unsubscribe git"

Error in documentation for @{-n} in gitrevisions

2014-01-11 Thread Kevin
While discussing the behavior of "git checkout -", I apparently was confused because the documentation states: The construct @{-} means the th branch checked out before the current one. But experimenting with it, it also takes you back to previously checkout commits. git-checkout-at-minus-on