“Why did the cowboy buy a wiener dog?”/“He wanted to get a long little doggy.”

A joke on the song title “Git Along, Little Dogies” is:
 
Q: Why did the cowboy buy a wiener dog (dachshund)?
A: He wanted to get a long little doggy.

 
The joke applies to buying a dachshund dog (an animal) or to buying a hot dog (a food). “Someone just ‘phoned that the proper way to buy a dachshund is to ‘get a long little doggie’” was printed in the Plainfield (NJ) Courier-News on December 12, 1933. “Why did the cowboy buy a dachshund?” has been cited in print since at least 1955.
 
   
Wikipedia: Git Along, Little Dogies
“Git Along, Little Dogies” is a traditional cowboy ballad, also performed under the title “Whoopie Ti Yi Yo.” The melody and lyrics were first published in 1910 in John Lomax’s Cowboy Songs and Other Frontier Ballads. It is cataloged as Roud Folk Song Index No. 827. Members of the Western Writers of America chose it as one of the Top 100 Western songs of all time.
(...)
Many people think the song’s lyrics are doggies (i.e. puppies) but a dogie actually refers to a motherless calf.
 
YouTube
Roy Rogers : Git Along Little Dogies ( 1940 )
george corneliussen
Uploaded on Jun 30, 2009
From the film “West Of The Badlands ” ( 1940 )
 
Newspapers.com
12 December 1933, Plainfield (NJ) Courier-News, “Flickers” by M. D. R., pg. 14, col. 2:
Someone just ‘phoned that the proper way to buy a dachshund is to “get a long little doggie.”
 
Newspapers.com
23 October 1940, St. Louis (MO) Post-Dispatch, “Hollywood Gossip” by John S. Truesdell, pg. 11A, col. 2:
A San Fernando Valley kennel operator is hypoing his sales with a sign reading: “Get a Long Little Doggie. Buy a Dachshund.”
 
Newspapers.com
15 April 1955, Brownsville (TX) Herald, “File Thirteen,” pg. 5, col. 6:
The following is NOT from Harry Kochner. In fact, we’re pledged not to reveal the author’s name. He’s afraid of reprisals, and no wonder:
 
“Why did the cowboy buy a dachshund?
 
“He heard an old cowhand say “Git-A-Long Lil Dogie’!”