@matheusbsbs / matheus-bagliano / commits / fc2d07b05f
Fork 0

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>

Junio C Hamano committed Apr 14, 2007 at 08:56 UTC fc2d07b05fb691f98b3a55c1499fae6fb25a7d31
1 file changed +1
attr.c
+1
@@ -194,6 +194,7 @@ static void free_attr_elem(struct attr_stack *e)
194 }
195
196 static const char *builtin_attr[] = {
197 + "[attr]binary !diff !crlf",
198 NULL,
199 };
200