From: J. Bruce Fields Date: Sat, 09 Feb 2008 16:22:35 GMT Subject: [PATCH] Add gitattributes file making whitespace checking pickier Message-ID: <20080209162234.GA25533@fieldses.org> From: J. Bruce Fields This will change the notion of "bad" whitespace for the git project to include initial whitespace that uses spaces where tabs could have been used. This only changes which whitespace is considered "bad". It doesn't change the behavior when bad whitespace is found. By default, commands like git-apply, git-am, and git-rebase will print a warning but otherwise do nothing. --- .gitattributes | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 .gitattributes Is there any reason not to use this now that we have it? diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dd65501 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* whitespace -- 1.5.4.rc2.60.gb2e62