X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=archive.c;h=d700af3b62f35091f9c628a5a2c0d8449e2fe439;hb=748af44c63ea6fec12690f1693f3dddd963e88d5;hp=5b88507374f08e118a83fe7479766e078c5616ca;hpb=1f73566af5bec28cd8489c6139a9ede95817349c;p=git.git diff --git a/archive.c b/archive.c index 5b8850737..d700af3b6 100644 --- a/archive.c +++ b/archive.c @@ -87,8 +87,8 @@ static void setup_archive_check(struct git_attr_check *check) static struct git_attr *attr_export_subst; if (!attr_export_ignore) { - attr_export_ignore = git_attr("export-ignore", 13); - attr_export_subst = git_attr("export-subst", 12); + attr_export_ignore = git_attr("export-ignore"); + attr_export_subst = git_attr("export-subst"); } check[0].attr = attr_export_ignore; check[1].attr = attr_export_subst;