git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] connect: read $GIT_SSH_COMMAND from config file

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 28, 2016, 17:58 UTC
Message-ID
<xmqqtwgd8ab0.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<vpqwpl9yal3.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 13 quoted lines
> Jeff King <peff@peff.net> writes:
>
>> On Sun, Jun 26, 2016 at 01:16:35PM +0200, Nguyễn Thái Ngọc Duy wrote:
>>
>>> +	use the specified command instead of 'ssh' when they need to
>>> +	connect to a remote system. The command is in the same form as
>>> +	'GIT_SSH_COMMAND' environment variable and is overriden when
>>> +	the environment variable is set.
>>
>> Probably s/'GIT_SSH_COMMAND'/the &/.
>
> I think so. I'd write either "same form as `GIT_SSH_COMMAND`" or "same
> form as the `GIT_SSH_COMMAND` environment variable`.
Let's then squash this in.
 Documentation/config.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index bd32069..fe7c9c4 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -444,11 +444,11 @@ This is useful for excluding servers inside a firewall from
 proxy use, while defaulting to a common proxy for external domains.
 
 core.sshCommand::
-	If this variable is set then 'git fetch' and 'git push' will
-	use the specified command instead of 'ssh' when they need to
+	If this variable is set, `git fetch` and `git push` will
+	use the specified command instead of `ssh` when they need to
 	connect to a remote system. The command is in the same form as
-	'GIT_SSH_COMMAND' environment variable and is overriden when
-	the environment variable is set.
+	the `GIT_SSH_COMMAND` environment variable and is overriden
+	when the environment variable is set.
 
 core.ignoreStat::
 	If true, Git will avoid using lstat() calls to detect if files have
Previous: Matthieu MoyNext: Eric Sunshine
Message 4 of 5 in “connect: read $GIT_SSH_COMMAND from config file”
  1. connect: read $GIT_SSH_COMMAND from config fileNguyễn Thái Ngọc Duy, Jun 26, 2016
  2. Jeff KingJun 27, 2016
  3. Matthieu MoyJun 28, 2016
  4. Junio C HamanoJun 28, 2016
  5. Eric SunshineJun 28, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.