mirror of
https://github.com/moby/moby.git
synced 2026-06-24 08:48:23 +00:00
Map common source and documentation file types to Git's built-in diff drivers so `git diff -W` expands hunks using language-aware function or section boundaries instead of generic text context. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
9 lines
150 B
Plaintext
9 lines
150 B
Plaintext
Dockerfile* linguist-language=Dockerfile
|
|
|
|
*.c diff=cpp
|
|
*.h diff=cpp
|
|
*.go diff=golang
|
|
*.md diff=markdown
|
|
*.py diff=python
|
|
*.sh diff=bash
|