I once spent many months poring over songs of the American Civil War, well-known and otherwise, and all I can say that I never noticed any whose tune was like "Mingulay" or which featured the lyrics you mention. Would bet that it was written within the past 25 years or so - maybe less.