At Wed, 29 Dec 2010 12:43:25 -0900,
Dave Abrahams wrote:

> > Alright, and what about making 'X' context dependent instead?
> 
> Let me see if I understand that scenario:
> 
>     `x' on a commit resets to that commit but leaves the working tree
>     `X' not on a commit discards the working tree
>     `X' on a commit discards the working tree and resets to that
>         commit (i.e. --hard)
> 
> Makes perfect sense to me.  I guess the obvious question is:
> 
>     `x' not on a commit does ????

I detect a smidgen of sarcasm...

Personally I don't think we need a commit based hard reset. I'd say x
RET X is fine for the cases you need to do one, a bit safer too.

Cheers,
Phil

Reply via email to