Browse Source

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>
maint
Junio C Hamano 18 years ago
parent
commit
fc2d07b05f
  1. 1
      attr.c

1
attr.c

@ -194,6 +194,7 @@ static void free_attr_elem(struct attr_stack *e) @@ -194,6 +194,7 @@ static void free_attr_elem(struct attr_stack *e)
}

static const char *builtin_attr[] = {
"[attr]binary !diff !crlf",
NULL,
};


Loading…
Cancel
Save