This website works better with JavaScript.
Explore
Register
Sign In
kernel
/
git
mirror of
https://git.kernel.org/pub/scm/git/git.git
Watch
1
Star
0
Fork
You've already forked git
0
Code
Releases
Activity
17500
Commits
6
Branches
36
Tags
131 MiB
Tree:
df487baa30
git
/
.gitattributes
3 lines
51 B
Raw
Normal View
History
Unescape
Escape
Define the project whitespace policy This establishes what the "bad" whitespaces are for this project. The rules are: - Unless otherwise specified, indent with SP that could be replaced with HT are not "bad". But SP before HT in the indent is "bad", and trailing whitespaces are "bad". - For C source files, initial indent by SP that can be replaced with HT is also "bad". - Test scripts in t/ and test vectors in its subdirectories can contain anything, so we make it unrestricted for now. Anything "bad" will be shown in WHITESPACE error indicator in diff output, and "apply --whitespace=warn" will warn about it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 years ago
* whitespace=!indent,trail,space
*.[ch] whitespace