From: Junio C Hamano Date: Fri, 25 Oct 2013 16:54:52 GMT Subject: Re: Re* Bug report: reset -p HEAD Message-ID: In-Reply-To: <20131025042421.GB11810@sigill.intra.peff.net> Jeff King writes: > 3. Teach add--interactive to recognize the empty tree sha1 as an > "unstage" path. > > I kind of like (3). At first glance, it is wrong; we will also treat > "git reset -p $(git hash-object -t tree /dev/null)" as if "HEAD" had > been passed. But if you are explicitly passing the empty tree like that, > I think saying "unstage" makes a lot of sense. Thanks; makes sense after twisting my mind somewhat, exactly for the reason you stated here ;-)