Merge branch 'nd/style-opening-brace'

Code clean-up.

* nd/style-opening-brace:
  style: the opening '{' of a function is in a separate line
This commit is contained in:
Junio C Hamano
2019-01-18 13:49:52 -08:00
15 changed files with 35 additions and 17 deletions

View File

@ -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);
}