Subject: | Git::CommitBuild should honor .gitignore |
Date: | Mon, 03 May 2010 14:29:23 -0500 |
To: | bug-dist-zilla-plugin-git [...] rt.cpan.org |
From: | Michael Schout <mschout [...] gkg.net> |
Hi.
I saw you added Git::CommitBuild which looks interesting.
It would be nice if it could honor the .gitignore that is in the top
directory somehow. Without it, the committed build includes all of the
files that were otherwise ignored by the .gitignore file.
In my case, I use the ArchiveRelease plugin, which stores released
tarballs under archive/. These files all get added to the committed
build, in addition to files like Makefile, Makefile.old etc which I have
ignored in .gitignore.
I suppose one way around that would be to include .gitignore via
gatherdir. But that would result in the .gitignore getting added to the
dist tarball, which really isn't desirable.
My Dist::Zilla kung fu is not strong enough to figure out the best way
to accomplish this :)
Thanks for the cool plugin.
Michael Schout