author | Tay Ray Chuan <rctay89@gmail.com> | |
Sat, 7 Mar 2009 16:47:21 +0000 (00:47 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Mar 2009 04:52:25 +0000 (20:52 -0800) | ||
commit | 113106e06c48cc80432fd1be8af912898e8f240e | |
tree | af4b0499287563f42a15493b778e704fa6ce722b | tree | snapshot |
parent | fd13b21f52b499ff6fa951ce27d4b9c9f0653087 | commit | diff |
http.c: use strbuf API in quote_ref_url
In addition, ''quote_ref_url'' inserts a slash between the base URL and
remote ref path only if needed. Previously, this insertion wasn't
contingent on the lack of a separating slash.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In addition, ''quote_ref_url'' inserts a slash between the base URL and
remote ref path only if needed. Previously, this insertion wasn't
contingent on the lack of a separating slash.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c | diff | blob | history |