git_attr_add_macro

Add a macro definition.

Macros will automatically be loaded from the top level .gitattributes file of the repository (plus the build-in "binary" macro). This function allows you to add others. For example, to add the default macro, you would call:

git_attr_add_macro(repo, "binary", "-diff -crlf");

extern (C) nothrow @nogc
int
git_attr_add_macro
(,
const(char)* name
,
const(char)* values
)

Meta