diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2009-01-31 07:51:55 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-31 17:10:07 -0800 |
commit | 817d14a87a90481b60a1c28f79f7d838d985a45c (patch) | |
tree | 2d883ce35d5e7f8ae6247e30a7f44a85268ce0de /t/t4103-apply-binary.sh | |
parent | a34a9dbbced36999496c52b43460825732d487ba (diff) | |
download | git-817d14a87a90481b60a1c28f79f7d838d985a45c.tar.gz git-817d14a87a90481b60a1c28f79f7d838d985a45c.tar.xz |
http-push: refactor request url creation
Introduce two helper functions append_remote_object_url() and
get_remote_object_url() and use them to remove various places
that allocate and format the URL by hand. These functions generate
a URL that point at the fan-out directory inside the remote object
store (e.g. http://host/path/to/repo/objects/a1/) or at an individual
loose object file.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4103-apply-binary.sh')
0 files changed, 0 insertions, 0 deletions