Thread (13 messages) 13 messages, 3 authors, 2017-01-27

Re: [PATCH 0/2] Support `git reset --stdin`

From: Jeff King <hidden>
Date: 2016-10-11 19:03:14

On Tue, Oct 11, 2016 at 06:08:56PM +0200, Johannes Schindelin wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help