The song is credited to Henry Creamer and Turner Layton, the writers of Sweet Emalina, My Gal and After You've Gone.
[1] The song mostly focuses on the words, actions, and feelings of Dinah Lee, girlfriend of the eponymous soldier Alexander Cooper, as he marches to a troop ship to embark for France to fight in the war.
[2] Several lines echo themes common to many World War I popular songs: the longing of those at home for the return of the soldiers ("I'll be waiting like Poor Butterfly"); pride in the soldiers' service ("Dressed up in that uniform you fills my heart with joy"); and certainty in eventual victory ("So get busy with that gun and don't come back 'till you've won").
The song starts off by setting a patriotic scene as a black regiment marches off to war, referencing emancipation to highlight the significance of the troops being African-American.
The two verses describe Dinah Lee's reaction to her boyfriend's presence among the troops, with the chorus being sung in her voice.