Re: Support for --stdin-paths in commit, add, etc
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 31, 2019, 17:15 UTC
- Message-ID
- <xmqqa7cuqg6g.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <a38bc928-7ccd-e2d9-b89b-23298e9fa95d@syntevo.com>
Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> writes:
> In our git UI, we sometimes run into OS commandline length limit when > trying to specify a list of pathspecs. For example, this happens when > user selects a large set of files and wants to commit them. As a > workaround, we split files and issue multiple git commands.
Yes, for plumbing commands meant for scripting, we really should strive to give scriptors way(s) to avoid the command line limit, and --stdin-paths is a very good approach to do so.