[PATCH v2 0/2] avoid running "git-subcmd" in the dashed form
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 26, 2020, 19:46 UTC
- Message-ID
- <20200826194650.4031087-1-gitster@pobox.com>
- In-Reply-To
- <xmqqd03dwe2x.fsf@gitster.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> I think the cvsexportcommit and transport-helper changes are worth > salvaging even if we don't remove builtin binaries, so I'll split > them and whip them a bit more into a reasonable shape to be merged > to 'next'. The "break those who say 'git-cat-file'" can be left for > future.
And here it is.
These two patches are clean-ups that are worth doing whether we decide to remove on-disk binaries for the builtin commands.
I droped the third one, that actually stops users from running built-in commands using the dashed form, at least for now. It can be resurrected later if we really wants to propose removal to the users, but I am not inclined to make such a proposal right now.
Junio C Hamano (2): transport-helper: do not run git-remote-ext etc. in dashed form cvsexportcommit: do not run git programs in dashed form
git-cvsexportcommit.perl | 16 ++++++++-------- transport-helper.c | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-)
-- 2.28.0-454-g5f859b1948