mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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:
committed by
Junio C Hamano
parent
5d826e9729
commit
3b3357626e
3
url.c
3
url.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user