Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

checkout @{-1} bug/oddity

From: Adeodato Simó <hidden>
Date: 2016-06-15 22:46:37

In case this is worth fixing:

  | % g co -b foo
  | Switched to a new branch 'foo'
  | 
  | % g co -
  | Switched to branch 'master'
  | 
  | % g co -b bar
  | Switched to a new branch 'bar'
  | 
  | % g co bar
  | Already on 'bar'
  | 
  | % g co -
  | Already on 'bar'

In my opinion the last command should switch to master, as in, switching
to the current branch should not lose the @{-1} history.

Thanks,

-- 
- Are you sure we're good?
- Always.
        -- Rory and Lorelai
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help