diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-12-09 11:25:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-10 15:41:09 +0900 |
commit | 3b3357626edc841a51d8885ddf6986bab5b6f778 (patch) | |
tree | c28a424e00c4fc8ca7656be02e2951396d91f9ad /userdiff.c | |
parent | 5d826e972970a784bd7a7bdf587512510097b8c7 (diff) | |
download | git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.gz |
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 'userdiff.c')
-rw-r--r-- | userdiff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userdiff.c b/userdiff.c index 46d34cc2a4..e0579522bd 100644 --- a/userdiff.c +++ b/userdiff.c @@ -265,7 +265,8 @@ int userdiff_config(const char *k, const char *v) return 0; } -struct userdiff_driver *userdiff_find_by_name(const char *name) { +struct userdiff_driver *userdiff_find_by_name(const char *name) +{ int len = strlen(name); return userdiff_find_by_namelen(name, len); } |