Merge branch 'nd/gitignore-trailing-whitespace'
commitdfcd354cdf38ff119c05e6e5f0e434bbc163ba41
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Mar 2014 21:23:37 +0000 (14 14:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Mar 2014 21:23:37 +0000 (14 14:23 -0700)
treeaf829295b55c89013ff1502b06a39476c35ce0cf
parent28b68216de080405f8eb1030982b8b1e79ffd6f0
parent35e4d775875603c748a127c82909f5d62a410ac8
Merge branch 'nd/gitignore-trailing-whitespace'

Trailing whitespaces in .gitignore files, unless they are quoted for
fnmatch(3), e.g. "path\ ", are warned and ignored.

Strictly speaking, this is a backward incompatible change, but very
unlikely to bite any sane user and adjusting should be obvious and
easy.

* nd/gitignore-trailing-whitespace:
  t0008: skip trailing space test on Windows
  dir: ignore trailing spaces in exclude patterns
  dir: warn about trailing spaces in exclude patterns
Documentation/gitignore.txt
dir.c