There was a pretty good discussion on that on this site about six months ago. Let's see if I can bring that up:
http://history-sites.com/mb/cw/cwflags/index.cgi?noframes;read=5352
Origin of Hardee pattern battle flag (views: 61)
Bill Gurley -- Wednesday, 7 February 2007, at 7:49 p.m.