summaryrefslogtreecommitdiff
path: root/transport-helper.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-12-09 11:25:21 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-12-10 15:41:09 +0900
commit3b3357626edc841a51d8885ddf6986bab5b6f778 (patch)
treec28a424e00c4fc8ca7656be02e2951396d91f9ad /transport-helper.c
parentGit 2.20 (diff)
downloadtgif-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.xz
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>
Diffstat (limited to 'transport-helper.c')
-rw-r--r--transport-helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c
index bf225c698f..4702e150f0 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -1026,7 +1026,8 @@ static int push_refs(struct transport *transport,
}
-static int has_attribute(const char *attrs, const char *attr) {
+static int has_attribute(const char *attrs, const char *attr)
+{
int len;
if (!attrs)
return 0;