You may want to look at the consequences as well. If I remember correctly, Samuel Clear discusses one such incident in his diary, which was collected by Daniel Chisholm and incorporated into The Daniel Chisholm Notebook (Chisholm, his brother Alex, and Clear all served in the same unit). Also check The 1863 Laws of War.