diff options
author | Junio C Hamano <junkio@cox.net> | 2007-04-14 08:56:35 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-15 15:49:41 -0700 |
commit | fc2d07b05fb691f98b3a55c1499fae6fb25a7d31 (patch) | |
tree | 5dda94d4eefab9e07a20f6366668a3b5904e9934 /attr.c | |
parent | f48fd68887a03756658a46486a5dd1301c5a655f (diff) | |
download | git-fc2d07b05fb691f98b3a55c1499fae6fb25a7d31.tar.gz git-fc2d07b05fb691f98b3a55c1499fae6fb25a7d31.tar.xz |
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>
Diffstat (limited to 'attr.c')
-rw-r--r-- | attr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -194,6 +194,7 @@ static void free_attr_elem(struct attr_stack *e) } static const char *builtin_attr[] = { + "[attr]binary !diff !crlf", NULL, }; |