From fc2d07b05fb691f98b3a55c1499fae6fb25a7d31 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 14 Apr 2007 08:56:35 -0700 Subject: [PATCH] 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 --- attr.c | 1 + 1 file changed, 1 insertion(+) 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, }; -- 2.26.2