summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2009-08-05 05:01:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-05 17:34:01 (GMT)
commit6eb996b5707b6d14cf9875a9231f4e909a443665 (patch)
treecd45ef2caf0a45dfe7a5b3f9d5b5cc7dcda2b6fe /remote-curl.c
parent07a4a3b4962e1fd4e40fd877427cddd7428c1bc3 (diff)
downloadgit-6eb996b5707b6d14cf9875a9231f4e909a443665.zip
git-6eb996b5707b6d14cf9875a9231f4e909a443665.tar.gz
git-6eb996b5707b6d14cf9875a9231f4e909a443665.tar.bz2
Add support for external programs for handling native fetches
transport_get() can call transport_native_helper_init() to have list and fetch-ref operations handled by running a separate program as: git remote-<something> <remote> [<url>] This program then accepts, on its stdin, "list" and "fetch <hex> <name>" commands; the former prints out a list of available refs and either their hashes or what they are symrefs to, while the latter fetches them into the local object database and prints a newline when done. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote-curl.c')
0 files changed, 0 insertions, 0 deletions