Reorganize .gitignore to make better use of its features
authorRichard Levitte <levitte@openssl.org>
Fri, 8 Jul 2016 12:11:43 +0000 (14:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 8 Jul 2016 13:03:43 +0000 (15:03 +0200)
commit27f215cfa36de073b4582f7cf91999c988fce534
treebe46b1ff79687da7b158fd64154ecc50d10a04e5
parentf1f5ee17b64397eecfde39960ca11e94064297bd
Reorganize .gitignore to make better use of its features

It's possible to have a very few rules for some directories and trust
that other patterns further along will take care of whatever is left.
.gitignore should therefore be loosely organised from least generic to
most generic, allowing things like this:

    # Keep any file with extensions, such as foo.c, bar.h, ...
    !/dir/*.*

    # ....

    # Remove all object files
    *.o
    *.obj

With this change, we implement some very generic rules for what will
and will not be ignored in the fuzz subdirectory, and truse that
patterns later on (such as *.o, *.obj, *.exe) will take care of
everything we didn't specifically specify for the fuzz subdirectory.

Reviewed-by: Rich Salz <rsalz@openssl.org>
.gitignore