diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2009-08-05 01:01:53 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-05 10:34:01 -0700 |
commit | 6eb996b5707b6d14cf9875a9231f4e909a443665 (patch) | |
tree | cd45ef2caf0a45dfe7a5b3f9d5b5cc7dcda2b6fe /Makefile | |
parent | 07a4a3b4962e1fd4e40fd877427cddd7428c1bc3 (diff) | |
download | git-6eb996b5707b6d14cf9875a9231f4e909a443665.tar.gz git-6eb996b5707b6d14cf9875a9231f4e909a443665.tar.xz |
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 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -549,6 +549,7 @@ LIB_OBJS += symlinks.o LIB_OBJS += tag.o LIB_OBJS += trace.o LIB_OBJS += transport.o +LIB_OBJS += transport-helper.o LIB_OBJS += tree-diff.o LIB_OBJS += tree.o LIB_OBJS += tree-walk.o |