git_connect: remove artificial limit of a remote command
commitd98d109979760bed1909fbf5e56cbb6239980095
authorJohannes Sixt <j6t@kdbg.org>
Thu, 28 Nov 2013 19:48:45 +0000 (28 20:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Dec 2013 22:54:47 +0000 (9 14:54 -0800)
treef27a651fdcf226cc34900dfef087118d388e0f4d
parent2171f3d2aa1412a744545c07b28003a7ff4af5df
git_connect: remove artificial limit of a remote command

Since day one, function git_connect() had a limit on the command line of
the command that is invoked to make a connection. 7a33bcbe converted the
code that constructs the command to strbuf. This would have been the
right time to remove the limit, but it did not happen. Remove it now.

git_connect() uses start_command() to invoke the command; consequently,
the limits of the system still apply, but are diagnosed only at execve()
time. But these limits are more lenient than the 1K that git_connect()
imposed.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c