From: Eric Raible Date: Fri, 28 Aug 2009 06:08:54 GMT Subject: Re: [PATCH v4 04/15] sequencer: add "reset_almost_hard()" and related functions Message-ID: In-Reply-To: <20090828044746.4307.88742.chriscool@tuxfamily.org> Christian Couder tuxfamily.org> writes: > "reset_almost_hard()" can be used to do a "git reset --hard". It > should be faster as it calls "unpack_trees()" directly, and it can > optionnaly preserve changes in the work tree if the "allow_dirty" > global is set. Preserving changes in the work tree can be usefull > if for example you want to get rid of the last commit but keep > your current not yet commited work. s/optionnaly/optionally/ s/usefull/useful/