This tests helps to maintain .gitignore up to date, by :
- testing if all ignored files have to be ignored, and
- testing if all untracked files are ignored.
[ Note : second version ]
Make test work on older git versions
I.e. the git version used on Debian stable.
- Ignore all dotfiles but .gitignore and .hgignore files
- Provide a way to test this file in header
- ChangeLog and debian-files are generated at root
- Ignore patches and orig files