style: the opening '{' of a function is in a separate line

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2018-12-09 11:25:21 +01:00
committed by Junio C Hamano
parent 5d826e9729
commit 3b3357626e
15 changed files with 35 additions and 17 deletions

3
url.c
View File

@@ -104,7 +104,8 @@ void end_url_with_slash(struct strbuf *buf, const char *url)
strbuf_complete(buf, '/');
}
void str_end_url_with_slash(const char *url, char **dest) {
void str_end_url_with_slash(const char *url, char **dest)
{
struct strbuf buf = STRBUF_INIT;
end_url_with_slash(&buf, url);
free(*dest);