summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2010-09-08 10:12:31 -0400
committerJesse Keating <jkeating@redhat.com>2010-09-08 16:23:19 -0700
commit658937cded0f763e751bce4f2f60c49199fd14ce (patch)
tree1491745e64e6a1a6370aaf278a3071bdbe53c8b8 /src/fedpkg.bash
parent61b297252e5e468cb80ade9b72dcc62132373a8c (diff)
downloadfedora-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 'src/fedpkg.bash')
0 files changed, 0 insertions, 0 deletions