Re: [JFF] "-" and "@{-1}" on various programs

2015-03-12 Thread Junio C Hamano
Michael J Gruber writes: > Junio C Hamano venit, vidit, dixit 10.03.2015 21:20: >> JFF stands for just for fun. >> ... >> What does not work are what needs further tweaking in revision.c >> parser. "git checkout master && git checkout next && git log -.." >> should show what next has on top of m

Re: [JFF] "-" and "@{-1}" on various programs

2015-03-11 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 10.03.2015 21:20: > JFF stands for just for fun. > > This is not meant to give out a model answer and is known to be > incomplete, but I was wondering if it would be a better direction to > allow "-" as a stand-in for "@{-1}" everywhere we allow a branch > name,

[JFF] "-" and "@{-1}" on various programs

2015-03-10 Thread Junio C Hamano
JFF stands for just for fun. This is not meant to give out a model answer and is known to be incomplete, but I was wondering if it would be a better direction to allow "-" as a stand-in for "@{-1}" everywhere we allow a branch name, losing workarounds at the surface level we have for checkout, mer