Re: [RFC/PATCH] shell: allow 'help' command to disable interactive shell
- From
Ethan Reesor <firelizzard@gmail.com>
- Date
- Feb 11, 2013, 07:26 UTC
- Message-ID
- <CAE_TNin+WcPodGfXKQuzBVujK7Yx3iCUR2rqgoc20WgwhJSR4g@mail.gmail.com>
- In-Reply-To
- <7v4nhjpb69.fsf@alter.siamese.dyndns.org>
On Mon, Feb 11, 2013 at 2:22 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Ethan Reesor <firelizzard@gmail.com> writes: >> Again, would it not be more elegant and powerful to A) have the >> shell-disabled message/hook/etc specified by git-config on some level, >> be it /etc/gitconfig or ~/.gitconfig, and B) have Jonathan's patch >> whereby ~/git-shell-commands/help returning non-zero closes the >> connection? > > Isn't that what I have essentially been saying?
That is what you've been saying. I reiterated because I like the idea of having it managed via git config.