Improve error message when a transport helper was not found
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Tue, 12 Jan 2010 19:53:29 +0000 (20:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2010 21:10:38 +0000 (13:10 -0800)
commit6b02de3b9dc4ac8374cea4964e993ec6636d781c
tree93d94fca86cc13795a32a95b69a7ac9c9057c1e4
parent2b541bf8be2bbd6cc8daf8e3d5d4a8ee30b2ce4e
Improve error message when a transport helper was not found

Perviously, the error message was:

    git: 'remote-foo' is not a git-command. See 'git --help'.

By not treating the transport helper as a git command, a more suitable
error is reported:

    fatal: Unable to find remote helper for 'foo'

Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c