[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *.eps and *.svg .gitignore patterns match files in repo

From: markdblackwell
Subject: Re: *.eps and *.svg .gitignore patterns match files in repo
Date: Fri, 28 Aug 2015 08:39:42 -0700 (MST)

Here's how to generate the complete list of files in the working tree (and
thus, files in the current repository branch) which match patterns anywhere
in Git's multiple gitignore sources:

    $ cd $LILYPOND_GIT
    $ find . -path ./.git -prune -o -print | git check-ignore --stdin
--no-index --verbose

The command identifies the particular gitignore source lines, as well.

At present, in a freshly checked-out repository (without doing any build
steps), the output still is relatively voluminous.

After we have adjusted .gitignore appropriately, then in order to catch such
files in the future, this check would seem desirable as part of the regular
release process.

For details (of course), see:

    $ man find
    $ man git-check-ignore

View this message in context: 
Sent from the Bugs mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]