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 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-133%2Fdscho%2Freset-stdin-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-133/dscho/reset-stdin-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/133 -- gitgitgadget