diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:52 -0800 |
commit | 3434569fc206c2f4bc434571d202f2961aa905e5 (patch) | |
tree | 87899124d519d771b5b4c15a779ae594ef44d801 /userdiff.c | |
parent | e07074d3f0f0efcb6cef30dc603d75c595942431 (diff) | |
parent | 3b3357626edc841a51d8885ddf6986bab5b6f778 (diff) | |
download | git-3434569fc206c2f4bc434571d202f2961aa905e5.tar.gz |
Merge branch 'nd/style-opening-brace'
Code clean-up.
* nd/style-opening-brace:
style: the opening '{' of a function is in a separate line
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 97007abe5b..3a78fbf504 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); } |