All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tommi Virtanen <tv@eagain.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Mikael Magnusson <mikachu@gmail.com>,
	Johannes Sixt <johannes.sixt@telecom.at>,
	Paolo Bonzini <bonzini@gnu.org>,
	Junio C Hamano <gitster@pobox.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH 2/2] git wrapper: execute git-shell when argv[1] is '-c'
Date: Tue, 26 Aug 2008 00:03:45 +0300	[thread overview]
Message-ID: <20080825210345.GE14930@eagain.net> (raw)
In-Reply-To: <alpine.DEB.1.00.0808252251450.24820@pacific.mpi-cbg.de.mpi-cbg.de>

On Mon, Aug 25, 2008 at 10:52:46PM +0200, Johannes Schindelin wrote:
> When a program is called via ssh's '-c' option, the login shell is called 
> on the remote computer, with the given arguments.  In the case that Git 
> was specified as login shell in /etc/passwd, Git used to complain that it 
> does not know the '-c' option and die.
> 
> This commit assumes that '-c' indicates that Git was specified as
> a login shell, and hands off to git-shell.
> 
> Noticed by Tommi Virtanen.

My imagination is insufficient in coming up with an uglier kludge, and
I sincerely hope my name isn't associated with this in any way.

-- 
:(){ :|:&};:

  reply	other threads:[~2008-08-25 21:04 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-24 20:23 [PATCH] "git shell" won't work, need "git-shell" Tommi Virtanen
2008-08-24 20:36 ` Junio C Hamano
2008-08-24 20:38   ` Tommi Virtanen
2008-08-24 21:20     ` Junio C Hamano
2008-08-24 22:25       ` Tommi Virtanen
2008-08-25 10:37         ` Johannes Schindelin
2008-08-25 11:44           ` Paolo Bonzini
2008-08-25 17:58             ` Johannes Schindelin
2008-08-25 18:25               ` Mikael Magnusson
2008-08-25 20:08                 ` Johannes Schindelin
2008-08-25 20:28                   ` Johannes Schindelin
2008-08-25 20:51                     ` [PATCH 1/2] git wrapper: Make while loop more reader-friendly Johannes Schindelin
2008-08-25 20:52                       ` [PATCH 2/2] git wrapper: execute git-shell when argv[1] is '-c' Johannes Schindelin
2008-08-25 21:03                         ` Tommi Virtanen [this message]
2008-08-25 22:05                           ` Johannes Schindelin
2008-08-25 22:20                             ` Tommi Virtanen
2008-08-26  0:52                               ` Johannes Schindelin
2008-08-26  6:53                                 ` Matthieu Moy
2008-08-26 17:43                                   ` Junio C Hamano
2008-08-26  8:50                       ` [PATCH 1/2] git wrapper: Make while loop more reader-friendly Mike Ralphson
2008-08-25 17:08       ` [PATCH] "git shell" won't work, need "git-shell" Petr Baudis
2008-08-25 17:20         ` Dmitry Potapov
2008-08-25 17:26           ` Tommi Virtanen
2008-08-25 17:53             ` Dmitry Potapov
2008-08-25 18:17           ` Johannes Schindelin
2008-08-25 20:26             ` Dmitry Potapov
2008-08-25 20:40             ` Mike Hommey
2008-10-28 11:11 ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080825210345.GE14930@eagain.net \
    --to=tv@eagain.net \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=bonzini@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=johannes.sixt@telecom.at \
    --cc=mikachu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.