libgit2

GIT_ATTR_TRUE(attr)

Version:

GIT_ATTR_TRUE checks if an attribute is set on. In core git parlance, this the value for "Set" attributes. For example, if the attribute file contains: *.c foo Then for file xyz.c looking up attribute "foo" gives a value for which GIT_ATTR_TRUE(value) is true.

Signature

#define GIT_ATTR_TRUE(attr) ((attr) == git_attr__true)

Versions