Re: [PATCH 0/2] Support `git reset --stdin`
- From
Jeff King <peff@peff.net>
- Date
- Oct 11, 2016, 18:34 UTC
- Message-ID
- <20161011183448.yasglfjelo4kgrq4@sigill.intra.peff.net>
- In-Reply-To
- <cover.1476202100.git.johannes.schindelin@gmx.de>
On Tue, Oct 11, 2016 at 06:08:56PM +0200, Johannes Schindelin wrote:
Show 5 quoted lines
> This feature was missing, and made it cumbersome for third-party > tools to reset a lot of paths in one go. > > Support for --stdin has been added, following builtin/checkout-index.c's > example.
Is git-reset the right layer to add scripting features? I thought we usually pushed people doing mass index manipulation to use update-index or read-tree. Is there something that reset makes easy that is hard with those tools (I could imagine "--hard", but I see it is not supported with your patch).
Not that I'm necessarily opposed to the patch, I was just surprised.
-Peff