Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-p4: don't groom exclude path list on every commit
[gitweb.git]
/
userdiff.c
diff --git
a/userdiff.c
b/userdiff.c
index 97007abe5b16f3fe0af70963ae728048f241659f..3a78fbf5044fbc5d5624ce94e54eb4ab325e2cf1 100644
(file)
--- 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);
}