The flag raising did not happen in Jones County, it was in Smith County at Mill, not a court house. They thought Sherman was heading their way and a display of a Union flag would keep his troops from burning the mill.
Leverett's book is a must read to understand how the story got blown out of porportion. The movie is all fiction. Newt Knight was a creepy sexual digenerate murdering thief.