From: Junio C Hamano Date: Sun, 16 Dec 2007 19:43:44 GMT Subject: Re: [PATCH] whitespace: fix initial-indent checking Message-ID: <7v3au2l91r.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071216162637.GA3934@fieldses.org> "J. Bruce Fields" writes: >>> I prefer to use tabs for indent, but _spaces_ for align. While previous, >>> less strict version of check catches indent using spaces, this one also >>> catches _align_ using spaces. > > No, the previous version didn't work for the align-with-spaces case > either. When indent-with-non-tab is in effect, it should tabify spaces in indent as much as possible. The error definition is deliberately incompatible with "align with spaces" policy. The reason I made indent-with-non-tab configurable was to cater to these people. They can turn it off if they do not want it.