Wrangler Jane winds up wearing Corporal Agarn's trooper uniform for no reason. She donated her dress to Agarn so he could bait the Loco brothers into capture. But Jane rode into and out of the scene in her own "cowboy" clothes while fetching her dress back at the store.
Jane unneccessarily dons corporal Agairn's trooper clothes because she also has her cowboy " buckskin duds "with her after she donates her dress she retrieved from her store/house. She never had the need to dress feminine in this episode because she was horse riding all the time in this episode.