[PATCH] Support alternates and http-alternates in http-fetch
commit1b0c1e672a417c3f4a46b36497168d6d61dba0cb
authorDaniel Barkalow <barkalow@iabervon.org>
Sun, 18 Sep 2005 18:14:19 +0000 (18 14:14 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 18 Sep 2005 21:14:52 +0000 (18 14:14 -0700)
treee67588db879c7131ab8984b971eeeee22ca1e031
parent3a45f625aef0074a41885f1df335844ec8c04f5e
[PATCH] Support alternates and http-alternates in http-fetch

This allows the remote repository to refer to additional repositories
in a file objects/info/http-alternates or
objects/info/alternates. Each line may be:

 a relative path, starting with ../, to get from the objects directory
  of the starting repository to the objects directory of the added
  repository.

 an absolute path of the objects directory of the added repository (on
  the same server).

 (only in http-alternates) a full URL of the objects directory of the
  added repository.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c