git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] Teach git reset to optionally read the pathspecs from stdin

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Sep 4, 2019, 21:38 UTC
Message-ID
<pull.133.git.gitgitgadget@gmail.com>

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
Next: Johannes Schindelin via GitGitGadget
Message 1 of 6 in “Teach git reset to optionally read the pathspecs from stdin”
  1. 0/1 Teach git reset to optionally read the pathspecs from stdinJohannes Schindelin via GitGitGadget, Sep 4, 2019
  2. 1/1 reset: support the --stdin optionJohannes Schindelin via GitGitGadget, Sep 4, 2019
  3. Eric SunshineSep 4, 2019
  4. Junio C HamanoSep 4, 2019
  5. Alexandr MiloslavskiySep 5, 2019
  6. Junio C HamanoSep 5, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.