Skip to content

pr-133/dscho/reset-stdin-v1

Especially in 3rd-party tools, where the shape of the repository/worktree is
unpredictable, it is a wise thing to have an option to pass pathspec
parameters via stdin rather than via the command line, as the latter has
size restrictions that the former does not have.

Johannes Schindelin (1):
  reset: support the --stdin option

 Documentation/git-reset.txt | 11 +++++++++
 builtin/reset.c             | 45 ++++++++++++++++++++++++++++++++++++-
 t/t7107-reset-stdin.sh      | 41 +++++++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+), 1 deletion(-)
 create mode 100755 t/t7107-reset-stdin.sh

base-commit: 8104ec994ea3849a968b4667d072fedd1e688642

Submitted-As: https://public-inbox.org/git/pull.133.git.gitgitgadget@gmail.com
Assets 2