diff options
author | Todd Zullinger <tmz@pobox.com> | 2010-09-08 10:12:31 -0400 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-09-08 16:23:19 -0700 |
commit | 658937cded0f763e751bce4f2f60c49199fd14ce (patch) | |
tree | 1491745e64e6a1a6370aaf278a3071bdbe53c8b8 /fedora-packager.spec | |
parent | 61b297252e5e468cb80ade9b72dcc62132373a8c (diff) | |
download | fedora-packager-658937cded0f763e751bce4f2f60c49199fd14ce.tar.gz fedora-packager-658937cded0f763e751bce4f2f60c49199fd14ce.tar.xz fedora-packager-658937cded0f763e751bce4f2f60c49199fd14ce.zip |
fedpkg: Try not to add redundant gitignore entries
If there is a entry which matches the filename we're about to add
already in the gitignore file, we don't need to bother adding another
entry.
This adds a match() method to GitIgnore which uses fnmatch. Under the
hood, this is what git uses. It doesn't catch some of the special cases
git has, but it should simply fail to match in those cases and will add
a potentially redundant entry -- no different than previously.
Diffstat (limited to 'fedora-packager.spec')
0 files changed, 0 insertions, 0 deletions