Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
reset: add test cases for "--keep" option
[gitweb.git]
/
builtin-check-attr.c
diff --git
a/builtin-check-attr.c
b/builtin-check-attr.c
index 8bd043009829fb4bb40cd2f730cbffa27c3791cf..3016d29caa610caf4618e9bc1684a532fd3a18a1 100644
(file)
--- a/
builtin-check-attr.c
+++ b/
builtin-check-attr.c
@@
-106,7
+106,7
@@
int cmd_check_attr(int argc, const char **argv, const char *prefix)
const char *name;
struct git_attr *a;
name = argv[i];
- a = git_attr(name
, strlen(name)
);
+ a = git_attr(name);
if (!a)
return error("%s: not a valid attribute name", name);
check[i].attr = a;