• J
    git-diff: complain about >=8 consecutive spaces in initial indent · 459fa6d0
    Junio C Hamano 提交于
    This introduces a new whitespace error type, "indent-with-non-tab".
    The error is about starting a line with 8 or more SP, instead of
    indenting it with a HT.
    
    This is not enabled by default, as some projects employ an
    indenting policy to use only SPs and no HTs.
    
    The kernel folks and git contributors may want to enable this
    detection with:
    
    	[core]
    		whitespace = indent-with-non-tab
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    459fa6d0
diff.c 79.2 KB