Here are two sites with some info:

http://www.petalia.com.au/Templates/...s&story_no=257
http://www.equisearch.com/care/nutrition/eqgarlic528/

I've heard about people using garlic to repel fleas (especially the more holistic pet owners) but since garlic and onions are still related, I wouldn't take the chance.