Re: [PATCH] cmd_reset: don't trash uncommitted changes unless told to

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Wednesday, June 25, 2008 - 2:23 am

Boaz Harrosh <bharrosh@panasas.com> writes:


Then you should revise your impression, as it is simply *WRONG*.  When
I say something about history of git, I know what I am talking about ;-)

Reset has been about nuking local changes from the very beginning.  That
is why it removes MERGE_HEAD, rr-cache/MERGE_RR as well as removing
conflicted stages in the index and reverts local changes from the worktree.

It is "my worktree state is a mess, and I cannot even describe nor care
which paths are dirty --- just get rid of the local changes so that I can
start working cleanly from a checkout of HEAD".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Junio C Hamano, (Wed Jun 25, 2:23 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Wed Jun 25, 3:16 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Matthias Kestenholz, (Wed Jun 25, 3:24 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Wed Jun 25, 5:33 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Wed Jun 25, 5:38 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Wed Jun 25, 6:59 pm)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Andreas Ericsson, (Wed Jun 25, 10:31 pm)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Thu Jun 26, 5:07 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Thu Jun 26, 5:09 am)
Re: [PATCH] cmd_reset: don't trash uncommitted changes unl ..., Johannes Schindelin, (Thu Jun 26, 10:49 am)