On 02/09/2011 06:48 AM, Michal Privoznik wrote: > I've forgotten to add .gitignore to let git ignore some garbage. > > --- > .gitignore | 27 +++++++++++++++++++++++++++ > src/.gitignore | 10 ++++++++++ .gitignore can be hierarchical. I prefer to have a single ignore file at the top level, rather than one per directory. > +++ b/.gitignore > @@ -0,0 +1,27 @@ > +.git This one shouldn't be needed (git automatically ignores its own directory). > +.git-module-status This one should probably be anchored. > +/Makefile > +/Makefile.in Un-anchor these, then they will apply recursively (which is what you want, for ignoring it in src/ as well). > +++ b/src/.gitignore > @@ -0,0 +1,10 @@ > +Makefile > +Makefile.in > +.deps > +.libs > +*.lo > +*.loT > +*.la > +*.exe > +*.cov > +/libvirtMib_subagent Most of these should be unanchored patterns at the top level; the last line should be /src/libvirtMib_subagent at the top level, then you don't need this file. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list