Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
attr: read core.attributesfile from git_default_core_config
[gitweb.git]
/
builtin
/
check-attr.c
diff --git
a/builtin/check-attr.c
b/builtin/check-attr.c
index 708988a0e1a318fb737624f489d01e0686cd0611..abb11650fdd936d01210552b68739f2bff82ed06 100644
(file)
--- a/
builtin/check-attr.c
+++ b/
builtin/check-attr.c
@@
-92,6
+92,8
@@
int cmd_check_attr(int argc, const char **argv, const char *prefix)
struct git_attr_check *check;
int cnt, i, doubledash, filei;
+ git_config(git_default_config, NULL);
+
argc = parse_options(argc, argv, prefix, check_attr_options,
check_attr_usage, PARSE_OPT_KEEP_DASHDASH);