Walther PPK in .22lr. Put the bullet in the ground in front of the German shepard and he made an instant 90 degree left turn and headed for the next county. After that, I carried a 1911 while working in the garden.
Oh, and when you're hot and sweaty, don't take off your shirt and hang it over your PPK.