git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Teach git reset to optionally read the pathspecs from stdin
@ 2019-09-04 21:38 Johannes Schindelin via GitGitGadget
  2019-09-04 21:38 ` [PATCH 1/1] reset: support the --stdin option Johannes Schindelin via GitGitGadget
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2019-09-04 21:38 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-05 17:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04 21:38 [PATCH 0/1] Teach git reset to optionally read the pathspecs from stdin Johannes Schindelin via GitGitGadget
2019-09-04 21:38 ` [PATCH 1/1] reset: support the --stdin option Johannes Schindelin via GitGitGadget
2019-09-04 21:45   ` Eric Sunshine
2019-09-04 23:23     ` Junio C Hamano
2019-09-05 10:58   ` Alexandr Miloslavskiy
2019-09-05 17:01     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).