mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
.gitattributes: define macro attribute binaryd for binary diff
This commit is contained in:
parent
8954849bcc
commit
6f189cba9e
7
.gitattributes
vendored
7
.gitattributes
vendored
@ -13,6 +13,13 @@
|
|||||||
# - Avoid merge-conflict when merging from .gitattributeless branch to
|
# - Avoid merge-conflict when merging from .gitattributeless branch to
|
||||||
# .gitattributed branch
|
# .gitattributed branch
|
||||||
|
|
||||||
|
# This is the default "binary" macro attribute, but with diffing allowed.
|
||||||
|
# Use when file contains diffable text, but isn't actually plaintext and thus
|
||||||
|
# shouldn't have EOL conversion done.
|
||||||
|
[attr]binaryd diff -merge -text
|
||||||
|
# Example:
|
||||||
|
#*.db binaryd
|
||||||
|
|
||||||
# Built-in diff patterns (disabled by default). The attribute `diff` implies
|
# Built-in diff patterns (disabled by default). The attribute `diff` implies
|
||||||
# `text` and the above attributes are inherited.
|
# `text` and the above attributes are inherited.
|
||||||
# https://www.git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
|
# https://www.git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
|
||||||
|
Loading…
Reference in New Issue
Block a user