From: J. Bruce Fields Date: Mon, 05 Nov 2007 19:05:56 GMT Subject: Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out. Message-ID: <20071105190556.GG22767@fieldses.org> In-Reply-To: <20071105190411.GG6205@artemis.corp> On Mon, Nov 05, 2007 at 08:04:11PM +0100, Pierre Habouzit wrote: > On Mon, Nov 05, 2007 at 07:01:41PM +0000, Pierre Habouzit wrote: > > + if (!lstat(name, &st)) { > > + die("Cannot find commit '%s', did you meant: " s/meant/mean/ > > + "git checkout HEAD -- '%s'", arg, arg); > > + } else { > > + die("Cannot find commit '%s'", arg); > > + } > > + } --b.