From: Junio C Hamano Date: Sat, 14 Apr 2007 15:56:35 +0000 (-0700) Subject: Define a built-in attribute macro "binary". X-Git-Tag: v1.5.2-rc0~18^2~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc2d07b05fb691f98b3a55c1499fae6fb25a7d31;p=git.git 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 --- diff --git a/attr.c b/attr.c index a30614420..410bca613 100644 --- a/attr.c +++ b/attr.c @@ -194,6 +194,7 @@ static void free_attr_elem(struct attr_stack *e) } static const char *builtin_attr[] = { + "[attr]binary !diff !crlf", NULL, };