Re: checkout @{-1} bug/oddity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adeodato Simó wrote:
>   | % 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.

This is by analogy with 'cd'.  Try 'cd .; cd -' in the shell.

See

  http://article.gmane.org/gmane.comp.version-control.git/106583

for the original mention; I don't have the time to re-read the entire
thread, but IIRC it was not discussed again.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]