Define a built-in attribute macro "binary".

For binary files we would want to disable textual diff
generation and automatic crlf conversion.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2007-04-14 08:56:35 -07:00
parent f48fd68887
commit fc2d07b05f

1
attr.c
View file

@ -194,6 +194,7 @@ static void free_attr_elem(struct attr_stack *e)
}
static const char *builtin_attr[] = {
"[attr]binary !diff !crlf",
NULL,
};