Code

git-remote: fix missing .uploadpack usage for show command
authorChris Frey <cdfrey@foursquare.net>
Thu, 25 Jun 2009 21:21:35 +0000 (17:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Jun 2009 21:47:49 +0000 (14:47 -0700)
commit345a38039414366e91a32f3c01257c3afcf78e27
treefaa6a01edbe895f161f8d8183ffbea0227dcaeae
parent6651c3f706cc47d8055ab43f9f7907202d10655d
git-remote: fix missing .uploadpack usage for show command

For users pulling from machines with self compiled git installs,
in non-PATH locations, they can set the config option
remote.<name>.uploadpack to set the location of git-upload-pack.

When using 'git remote show <name>', the remote HEAD check
did not use the uploadpack configuration setting, and would
not use the configured program.

In builtin-remote.c, the config setting is already loaded
with the call to remote_get(), so this patch passes that remote
along to transport_get().

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c