Dollar General Corp. offered a discount on diapers earlier this summer that ended up clogging checkouts at rivals Wal-Mart Stores Inc. and Target Corp., which were swarmed by shoppers trying to use the promotion to get an even better deal.

Call it diaper arbitrage.

In its print and online circulars, Dollar General offered a $9.50 sale...