Pershing was no-nonsense ballbuster. I don't know about this specific story, but during the Indian Wars, he learned firsthand about fighting the American Indians as they fought.
It would not surprise me if it was indeed true.
Sorry to quote MS - but really, "It's a good thing".