Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
reset: warn when refresh_index() takes more than 2 seconds
[gitweb.git]
/
userdiff.c
diff --git
a/userdiff.c
b/userdiff.c
index c913232396d92c62e5cd8b6a8cb632d4e7b7ce80..46d34cc2a436c6084531d39628d013785700e2ba 100644
(file)
--- a/
userdiff.c
+++ b/
userdiff.c
@@
-279,8
+279,7
@@
struct userdiff_driver *userdiff_find_by_path(struct index_state *istate,
check = attr_check_initl("diff", NULL);
if (!path)
return NULL;
- if (git_check_attr(istate, path, check))
- return NULL;
+ git_check_attr(istate, path, check);
if (ATTR_TRUE(check->items[0].value))
return &driver_true;